Skip to content

Commit

Permalink
chore: update pre-commit config to the latest repos' versions (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Apr 9, 2022
1 parent 85ff971 commit 69f2151
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
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

0 comments on commit 69f2151

Please sign in to comment.