-
-
Notifications
You must be signed in to change notification settings - Fork 348
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 F401 in flake8, configure per-file disables. #2669
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2669 +/- ##
==========================================
- Coverage 98.84% 98.84% -0.01%
==========================================
Files 114 113 -1
Lines 16514 16477 -37
Branches 3003 3003
==========================================
- Hits 16323 16286 -37
Misses 134 134
Partials 57 57
|
5a36d77
to
4b0ac83
Compare
Any objection to just merging this? It'll quickly lead to a lot of merge conflicts if I start opening type-checking PRs in parallel to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good. I don't quite get why anything needs to have this warning ignored for (unless it's doing some runtime stuff? which kinda sucks but ig that's a different issue to fix)
added comments to most of the noqa's. |
dd708ac
to
256eb67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than these 2 + fixing the formatting, this looks good!
Formatting CI is still failing :( I would be a +1 on adding a nicer error message (e.g. putting a |
I'm inclined to ignore the failing pypy-3.7 export symbol test since support will be dropped soon anyway, it does not seem to be related to this PR anyway - main is failing too https://github.com/python-trio/trio/actions/runs/5405876855/jobs/9822036832 |
Could you just toss an xfail at it I guess, it's required for merging :( |
python/typing_extensions#258 heh. I'll make a PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rereviewing, seems good to me.
See discussion in #2666 (comment)