Skip to content

[Backport maintenance/3.3.x] Consistency between is/is not and ==/!= when comparing types for unidiomatic-typecheck (#10170) #10366

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

Conversation

jacobtylerwalls
Copy link
Member

(cherry picked from commit d396616)

…g types for ``unidiomatic-typecheck`` (pylint-dev#10170)

(cherry picked from commit d396616)
@jacobtylerwalls jacobtylerwalls requested a review from zenlyj May 4, 2025 14:05
@jacobtylerwalls jacobtylerwalls added this to the 3.3.7 milestone May 4, 2025
@jacobtylerwalls jacobtylerwalls changed the title [backport maintenance/3.3.x] Consistency between is/is not and ==/!= when comparing types for unidiomatic-typecheck (#10170) [Backport maintenance/3.3.x] Consistency between is/is not and ==/!= when comparing types for unidiomatic-typecheck (#10170) May 4, 2025
@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label May 4, 2025
@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) May 4, 2025 14:07
Copy link

codecov bot commented May 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.84%. Comparing base (0533111) to head (2d04ce1).
Report is 1 commits behind head on maintenance/3.3.x.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           maintenance/3.3.x   #10366   +/-   ##
==================================================
  Coverage              95.84%   95.84%           
==================================================
  Files                    174      174           
  Lines                  18995    18995           
==================================================
  Hits                   18206    18206           
  Misses                   789      789           
Files with missing lines Coverage Δ
pylint/checkers/base/comparison_checker.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pierre-Sassoulas Pierre-Sassoulas merged commit f9773de into pylint-dev:maintenance/3.3.x May 4, 2025
27 of 40 checks passed
@jacobtylerwalls jacobtylerwalls deleted the backport-10170-to-maintenance/3.3.x branch May 4, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants