-
Notifications
You must be signed in to change notification settings - Fork 912
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
chore: update linters 2024 #2588
Changes from all commits
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
rev: v5.0.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
|
@@ -15,16 +15,16 @@ repos: | |
- id: check-executables-have-shebangs | ||
- id: check-merge-conflict | ||
- repo: https://github.com/psf/black | ||
rev: 23.9.1 | ||
rev: 24.8.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.8.0 | ||
rev: v1.11.2 | ||
hooks: | ||
- id: mypy | ||
additional_dependencies: [types-pyOpenSSL==23.2.0.2, types-requests==2.31.0.10] | ||
additional_dependencies: [types-pyOpenSSL==24.1.0.20240722, types-requests==2.32.0.20240914] | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.1.0 | ||
rev: 7.1.1 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/pycqa/isort | ||
|
@@ -39,7 +39,7 @@ repos: | |
language: node | ||
pass_filenames: false | ||
types: [python] | ||
additional_dependencies: ["[email protected].278"] | ||
additional_dependencies: ["[email protected].384"] | ||
- repo: local | ||
hooks: | ||
- id: check-license-header | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ mypy==1.11.2 | |
objgraph==3.6.1 | ||
Pillow==10.4.0 | ||
pixelmatch==0.3.0 | ||
pre-commit==3.4.0 | ||
pre-commit==3.5.0 | ||
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. What is this one? Why is it different from the previous file? 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. This is |
||
pyOpenSSL==24.2.1 | ||
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. This one does not seem to match the previous file either. 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. In both cases the latest version. Seems like its like |
||
pytest==8.3.3 | ||
pytest-asyncio==0.21.2 | ||
|
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 is this one?
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.
Hooks which we consume from the
pre-commit
project - they are not shipped automatically so we specify them like that.