-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Modify precommit config yaml and change name of typing step to Typing + pylint. #49527
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
Changes from 6 commits
7819614
cda788d
8256da2
1d1c540
aa940db
4b05ec3
c769528
0974c77
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ jobs: | |
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV | ||
if: ${{ steps.build.outcome == 'success' && always() }} | ||
|
||
- name: Typing | ||
- name: Typing + pylint | ||
uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --hook-stage manual --all-files | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,7 @@ dependencies: | |
- flake8-bugbear=22.7.1 # used by flake8, find likely bugs | ||
- isort>=5.2.1 # check that imports are in the right order | ||
- mypy=0.981 | ||
- pylint=2.15.5 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @MarcoGorelli is there a reason to add pylint to the env file? The check is still run through pre-commit, which will make install it in its own env? (although that's also the case for black et al, and those are also here, so it's all OK, just wondering) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I missed the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤔 though |
||
- pre-commit>=2.15.0 | ||
- pycodestyle # used by flake8 | ||
- pyupgrade | ||
|
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.
What are the implications of these changes?
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.
it'll run like the
mypy
one, only in CI