bidict/.pre-commit-config.yaml

57 lines
1.4 KiB
YAML
Raw Normal View History

repos:
2021-12-24 19:06:47 +00:00
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-05-01 14:23:37 +00:00
rev: v4.2.0
2021-12-24 19:06:47 +00:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
- id: double-quote-string-fixer
# This stopped working so comment out for now (started applying to files that didn't need it):
# - id: fix-encoding-pragma
- id: check-yaml
2021-12-24 19:06:47 +00:00
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
2021-12-24 19:06:47 +00:00
- repo: https://github.com/pre-commit/mirrors-mypy
2022-06-01 15:13:47 +00:00
rev: v0.960
2021-12-24 19:06:47 +00:00
hooks:
- id: mypy
exclude: setup.py|docs/conf.py|tests
2021-12-24 19:06:47 +00:00
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
exclude: setup.py|docs/conf.py|tests
2021-12-24 19:06:47 +00:00
- repo: https://github.com/pycqa/flake8
2022-03-20 14:54:42 +00:00
rev: 4.0.1
2021-12-24 19:06:47 +00:00
hooks:
- id: flake8
2021-12-24 19:06:47 +00:00
# https://pre-commit.com/#repository-local-hooks
- repo: local
hooks:
2022-03-20 14:54:42 +00:00
- id: pyright
name: pyright
entry: pyright
language: node
types: [python]
2021-12-24 19:06:47 +00:00
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
exclude: setup.py|run_tests.py|docs/conf.py
2021-12-24 19:06:47 +00:00
- repo: https://github.com/Lucas-C/pre-commit-hooks
2022-06-01 15:13:47 +00:00
rev: v1.2.0
2021-12-24 19:06:47 +00:00
hooks:
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs