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

[contextmanager-generator-missing-cleanup][new feature] Warn about @contextlib.contextmanager without try/finally in generator functions #9133

Merged
merged 32 commits into from
May 12, 2024

fix: make checking for generators with try blocks cheaper

3bd7132
Select commit
Loading
Failed to load commit list.
Merged

[contextmanager-generator-missing-cleanup][new feature] Warn about @contextlib.contextmanager without try/finally in generator functions #9133

fix: make checking for generators with try blocks cheaper
3bd7132
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 11, 2024 in 1s

95.83% (target 95.00%)

View this Pull Request on Codecov

95.83% (target 95.00%)

Details

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.83%. Comparing base (e31a155) to head (3bd7132).
Report is 181 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #9133      +/-   ##
==========================================
+ Coverage   95.76%   95.83%   +0.07%     
==========================================
  Files         173      174       +1     
  Lines       18665    18887     +222     
==========================================
+ Hits        17874    18101     +227     
+ Misses        791      786       -5     
Files Coverage Δ
pylint/checkers/base/__init__.py 100.00% <100.00%> (ø)
pylint/checkers/base/function_checker.py 100.00% <100.00%> (ø)

... and 39 files with indirect coverage changes