diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 005a6bc..781a151 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,47 +1,27 @@ +exclude: | + (?x)^( + versioneer\.py| + ampersand/_version\.py| + doc/.*| + bin/.* + )$ repos: - repo: https://github.com/psf/black rev: 20.8b1 hooks: - id: black language_version: python3 - exclude: | - (?x)^( - versioneer\.py| - ampersand/_version\.py| - doc/.*| - bin/.* - )$ + additional_dependencies: ['click==8.0.4'] - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.4 hooks: - id: flake8 - exclude: | - (?x)^( - versioneer\.py| - ampersand/_version\.py| - doc/.*| - bin/.* - )$ - repo: https://github.com/pycqa/isort rev: 5.5.2 hooks: - id: isort - exclude: | - (?x)^( - versioneer\.py| - ampersand/_version\.py| - doc/.*| - bin/.* - )$ - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.790 hooks: - id: mypy args: [--ignore-missing-imports] - exclude: | - (?x)^( - versioneer\.py| - pymc3_hmm/_version\.py| - doc/.*| - bin/.* - )$