-
Notifications
You must be signed in to change notification settings - Fork 108
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
Add Flake8-pyproject to fix python annotation workflow #6123
Conversation
264a5c2
to
5223121
Compare
@@ -18,7 +18,7 @@ jobs: | |||
with: | |||
python-version: "3.11" | |||
- name: Install flake8 | |||
run: pip install flake8 flake8-bugbear flake8-simplify flake8-debugger flake8-pep3101 | |||
run: pip install flake8 flake8-bugbear flake8-simplify flake8-debugger flake8-pep3101 Flake8-pyproject |
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.
This can be simplified into pip install -r style-requirements.txt
and then only -pep3101
and -debugger
is needed
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.
If @dafeda beats you, there will probably be a pip install .[style]
or something similar instead of style-requirements.txt
.
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.
That is indeed the plan 👍
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.
do you want me to wait or close this PR then @dafeda?
Codecov Report
@@ Coverage Diff @@
## main #6123 +/- ##
===========================================
+ Coverage 41.17% 82.45% +41.28%
===========================================
Files 20 350 +330
Lines 2186 21442 +19256
Branches 834 834
===========================================
+ Hits 900 17680 +16780
- Misses 988 3464 +2476
Partials 298 298 see 330 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
5223121
to
acd92f5
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.
No reason to wait I think.
Approach
Add Flake8-pyproject to fix python annotation workflow
Pre review checklist
Ground Rules),
and changes to existing code have good test coverage.
Pre merge checklist