pytest-bdd/.pre-commit-config.yaml

32 lines
939 B
YAML
Raw Normal View History

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
2022-02-22 23:32:15 +08:00
# If you update the version here, also update it in tox.ini (py*-pytestlatest-linters)
rev: 22.6.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.1
hooks:
- id: pyupgrade
2022-02-24 23:00:36 +08:00
args: ["--py37-plus"]
2022-02-24 23:52:23 +08:00
# TODO: Enable mypy checker when the checks succeed
#- repo: https://github.com/pre-commit/mirrors-mypy
# rev: v0.931
# hooks:
# - id: mypy
# additional_dependencies: [types-setuptools]