| 1 |
--- |
| 2 |
default_language_version: |
| 3 |
python: python3.12 |
| 4 |
repos: |
| 5 |
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config |
| 6 |
rev: v1.6.1 |
| 7 |
hooks: |
| 8 |
- id: check-pre-commit-ci-config |
| 9 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
| 10 |
rev: v6.0.0 |
| 11 |
hooks: |
| 12 |
- id: check-added-large-files |
| 13 |
- id: check-json |
| 14 |
- id: check-merge-conflict |
| 15 |
- id: check-toml |
| 16 |
- id: check-vcs-permalinks |
| 17 |
- id: check-xml |
| 18 |
- id: check-yaml |
| 19 |
- id: debug-statements |
| 20 |
- id: end-of-file-fixer |
| 21 |
- id: mixed-line-ending |
| 22 |
- id: name-tests-test |
| 23 |
exclude: (?x)^( |
| 24 |
tests/base.py| |
| 25 |
tests/hypothesis/common.py| |
| 26 |
tests/hypothesis/strategies.py |
| 27 |
)$ |
| 28 |
- id: no-commit-to-branch |
| 29 |
- id: pretty-format-json |
| 30 |
- id: requirements-txt-fixer |
| 31 |
- id: trailing-whitespace |
| 32 |
- repo: https://github.com/kieran-ryan/pyprojectsort |
| 33 |
rev: v0.4.0 |
| 34 |
hooks: |
| 35 |
- id: pyprojectsort |
| 36 |
- repo: https://github.com/abravalheri/validate-pyproject |
| 37 |
rev: v0.24.1 |
| 38 |
hooks: |
| 39 |
- id: validate-pyproject |
| 40 |
- repo: https://github.com/MarcoGorelli/absolufy-imports |
| 41 |
rev: v0.3.1 |
| 42 |
hooks: |
| 43 |
- id: absolufy-imports |
| 44 |
- repo: https://github.com/astral-sh/ruff-pre-commit |
| 45 |
rev: 'v0.14.3' |
| 46 |
hooks: |
| 47 |
- id: ruff-check |
| 48 |
- id: ruff-format |
| 49 |
- repo: https://github.com/pre-commit/pygrep-hooks |
| 50 |
rev: v1.10.0 |
| 51 |
hooks: |
| 52 |
- id: python-use-type-annotations |
| 53 |
- id: python-check-blanket-type-ignore |
| 54 |
- id: python-check-mock-methods |
| 55 |
- id: python-no-log-warn |
| 56 |
- id: python-use-type-annotations |
| 57 |
- id: rst-backticks |
| 58 |
- id: rst-directive-colons |
| 59 |
- id: rst-inline-touching-normal |
| 60 |
- id: text-unicode-replacement-char |
| 61 |
- repo: https://github.com/sphinx-contrib/sphinx-lint |
| 62 |
rev: "v1.0.1" |
| 63 |
hooks: |
| 64 |
- id: sphinx-lint |
| 65 |
- repo: https://github.com/pre-commit/mirrors-mypy |
| 66 |
rev: v1.18.2 |
| 67 |
hooks: |
| 68 |
- id: mypy |
| 69 |
additional_dependencies: [pygeoif>=1.4, arrow, pytest, hypothesis, types-python-dateutil] |
| 70 |
- repo: https://github.com/adamchainz/blacken-docs |
| 71 |
rev: "1.20.0" |
| 72 |
hooks: |
| 73 |
- id: blacken-docs |
| 74 |
- repo: https://github.com/crate-ci/typos |
| 75 |
rev: v1 |
| 76 |
hooks: |
| 77 |
- id: typos |
| 78 |
exclude_types: ['csv'] |
| 79 |
- repo: https://github.com/rohaquinlop/complexipy-pre-commit |
| 80 |
rev: v4.2.0 |
| 81 |
hooks: |
| 82 |
- id: complexipy |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
... |