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

chore: update pre-commit config to the latest repos' versions #534

Merged
merged 2 commits into from Apr 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Expand Up @@ -4,10 +4,12 @@ on:
pull_request:
paths:
- ".github/workflows/lint.yml"
- ".pre-commit-config.yaml"
- "**.py"
push:
paths:
- ".github/workflows/lint.yml"
- ".pre-commit-config.yaml"
- "**.py"

concurrency:
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
@@ -1,37 +1,37 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.2.0
hooks:
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.812
rev: v0.942
hooks:
- id: mypy
exclude: '^(docs|tasks|tests)|setup\.py'
args: []

- repo: https://github.com/asottile/pyupgrade
rev: v2.29.0
rev: v2.32.0
hooks:
- id: pyupgrade
args: [--py36-plus]

- repo: https://github.com/psf/black
rev: 20.8b1
rev: 22.3.0
hooks:
- id: black

- repo: https://github.com/PyCQA/isort
rev: 5.8.0
rev: 5.10.1
hooks:
- id: isort

- repo: https://gitlab.com/PyCQA/flake8
rev: "3.9.0"
rev: "3.9.2"
hooks:
- id: flake8
additional_dependencies: ["pep8-naming"]
Expand Down
2 changes: 1 addition & 1 deletion packaging/tags.py
Expand Up @@ -36,7 +36,7 @@
}


_32_BIT_INTERPRETER = sys.maxsize <= 2 ** 32
_32_BIT_INTERPRETER = sys.maxsize <= 2**32


class Tag:
Expand Down