Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only warn on parameter overriding attribute if this is not a parameter #6211

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

jenshnielsen
Copy link
Collaborator

This makes the error from #6174 a warning if the overridden attribute is not itself a parameter.

@jenshnielsen jenshnielsen requested a review from a team as a code owner June 28, 2024 08:39
Overridding other atters would be a breaking change without warning
Copy link

codecov bot commented Jun 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.17%. Comparing base (1908aa0) to head (6953f99).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6211   +/-   ##
=======================================
  Coverage   67.17%   67.17%           
=======================================
  Files         352      352           
  Lines       32128    32130    +2     
=======================================
+ Hits        21582    21584    +2     
  Misses      10546    10546           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jenshnielsen jenshnielsen added this pull request to the merge queue Jun 28, 2024
Merged via the queue into microsoft:main with commit 6b2e56f Jun 28, 2024
17 checks passed
jenshnielsen added a commit to jenshnielsen/Qcodes that referenced this pull request Jun 28, 2024
Only warn on parameter overriding attribute if this is not a parameter
@jenshnielsen jenshnielsen deleted the only_warn_on_attr branch June 28, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants