pylint - sync with rules used in internal codes#7387
Merged
pavoljuhas merged 5 commits intoquantumlib:mainfrom May 29, 2025
Merged
pylint - sync with rules used in internal codes#7387pavoljuhas merged 5 commits intoquantumlib:mainfrom
pavoljuhas merged 5 commits intoquantumlib:mainfrom
Conversation
Also remove obsolete sections that have no effect on pylint result.
dstrain115
approved these changes
May 29, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7387 +/- ##
==========================================
- Coverage 98.68% 98.68% -0.01%
==========================================
Files 1112 1112
Lines 97641 97642 +1
==========================================
Hits 96359 96359
- Misses 1282 1283 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This was referenced May 30, 2025
BichengYing
pushed a commit
to BichengYing/Cirq
that referenced
this pull request
Jun 20, 2025
Activate pylint rules used in pyle and fix flagged issues. Added pylint rules: - abstract-class-instantiated - assignment-from-no-return - bad-chained-comparison - bad-mcs-classmethod-argument - bad-mcs-method-argument - deprecated-decorator - method-hidden - raising-bad-type - raising-format-tuple - redefined-slots-in-subclass - self-cls-assignment - shadowed-import - simplifiable-condition - unneeded-not - use-maxsplit-arg - using-constant-test Related to quantumlib#7371
This was referenced Aug 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Activate pylint rules used in pyle and fix flagged issues.
Added pylint rules:
Related to #7371