update dependencies
This commit is contained in:
@@ -17,17 +17,17 @@ repos:
|
||||
# formatters
|
||||
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
rev: v2.2.0
|
||||
rev: v3.1.0
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
|
||||
- repo: https://github.com/ambv/black
|
||||
rev: 19.10b0
|
||||
rev: 22.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.3.0
|
||||
rev: v2.32.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
stages: [push]
|
||||
@@ -35,14 +35,14 @@ repos:
|
||||
# linters
|
||||
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.6.2
|
||||
rev: 1.7.4
|
||||
hooks:
|
||||
- id: bandit
|
||||
args: ["-x", "tests"]
|
||||
stages: [push]
|
||||
|
||||
- repo: https://github.com/PyCQA/pydocstyle
|
||||
rev: 5.0.2
|
||||
rev: 6.1.1
|
||||
hooks:
|
||||
- id: pydocstyle
|
||||
args: ["--ignore=D10,D21,D202"]
|
||||
@@ -68,15 +68,21 @@ repos:
|
||||
stages: [push]
|
||||
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.23.0
|
||||
rev: v1.26.3
|
||||
hooks:
|
||||
- id: yamllint
|
||||
args: ["--strict", "-d", "{rules: {line-length: {max: 180}}}"]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.770
|
||||
rev: v0.950
|
||||
hooks:
|
||||
- id: mypy
|
||||
additional_dependencies: ["types-requests", "types-PyYAML", "types-redis"]
|
||||
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.9.2
|
||||
hooks:
|
||||
- id: flake8
|
||||
|
||||
- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks
|
||||
rev: v0.1.0
|
||||
@@ -87,14 +93,12 @@ repos:
|
||||
# miscellaneous
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.5.0
|
||||
rev: v4.2.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-docstring-first
|
||||
- id: debug-statements
|
||||
- id: end-of-file-fixer
|
||||
- id: flake8
|
||||
additional_dependencies: ["flake8-bugbear"]
|
||||
- id: trailing-whitespace
|
||||
- id: check-ast
|
||||
- id: check-builtin-literals
|
||||
@@ -104,7 +108,7 @@ repos:
|
||||
args: ["--django"]
|
||||
|
||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||
rev: v1.5.1
|
||||
rev: v1.9.0
|
||||
hooks:
|
||||
# - id: rst-backticks
|
||||
- id: python-use-type-annotations
|
||||
@@ -117,6 +121,6 @@ repos:
|
||||
# http://jorisroovers.com/gitlint/#using-gitlint-through-pre-commit
|
||||
|
||||
- repo: https://github.com/jorisroovers/gitlint
|
||||
rev: v0.13.1
|
||||
rev: v0.17.0
|
||||
hooks:
|
||||
- id: gitlint
|
||||
|
||||
Reference in New Issue
Block a user