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

Enable ruff's flake8-return rule #3047

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Merge branch 'main' into enable-flake8-return

b3ac062
Select commit
Loading
Failed to load commit list.
Open

Enable ruff's flake8-return rule #3047

Merge branch 'main' into enable-flake8-return
b3ac062
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 21, 2024 in 0s

99.63% (+0.12%) compared to e3cfb23

View this Pull Request on Codecov

99.63% (+0.12%) compared to e3cfb23

Details

Codecov Report

Attention: Patch coverage is 97.19626% with 3 lines in your changes missing coverage. Please review.

Project coverage is 99.63%. Comparing base (e3cfb23) to head (b3ac062).
Report is 1 commits behind head on main.

Files Patch % Lines
src/trio/_core/_io_kqueue.py 0.00% 1 Missing ⚠️
src/trio/_dtls.py 85.71% 1 Missing ⚠️
src/trio/_tests/test_subprocess.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3047      +/-   ##
==========================================
+ Coverage   99.51%   99.63%   +0.12%     
==========================================
  Files         121      121              
  Lines       17841    17832       -9     
  Branches     3206     3206              
==========================================
+ Hits        17754    17767      +13     
+ Misses         67       46      -21     
+ Partials       20       19       -1     
Files Coverage Δ
src/trio/_core/_ki.py 100.00% <100.00%> (ø)
src/trio/_core/_mock_clock.py 100.00% <100.00%> (ø)
src/trio/_core/_run.py 99.38% <100.00%> (ø)
src/trio/_core/_tests/test_guest_mode.py 100.00% <100.00%> (ø)
src/trio/_core/_tests/test_run.py 100.00% <ø> (ø)
src/trio/_core/_tests/test_thread_cache.py 100.00% <100.00%> (ø)
src/trio/_core/_tests/test_windows.py 100.00% <100.00%> (ø)
src/trio/_core/_unbounded_queue.py 100.00% <100.00%> (ø)
src/trio/_file_io.py 100.00% <100.00%> (ø)
src/trio/_highlevel_generic.py 100.00% <100.00%> (ø)
... and 23 more

... and 4 files with indirect coverage changes