Skip to content

Commit

Permalink
Merge branch 'pre-commit-ci-update-config' into update-precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre authored Oct 8, 2024
2 parents 2522b58 + d003bfa commit 2d065f1
Showing 1 changed file with 48 additions and 49 deletions.
97 changes: 48 additions & 49 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ default_language_version:
python: python3

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-docstring-first
- id: check-json
Expand All @@ -21,69 +21,68 @@ repos:
exclude: '.ipynb|asv.conf.json'
- id: trailing-whitespace

- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- id: toml-sort-fix

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.8.0
hooks:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
- id: black

- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
args: [ '--max-line-length=93', '--extend-ignore=W503' ]

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/keewis/blackdoc
rev: v0.3.9
hooks:
- repo: https://github.com/keewis/blackdoc
rev: v0.3.9
hooks:
- id: blackdoc
additional_dependencies: [ 'black==24.8.0' ]
additional_dependencies: [ 'black==24.10.0' ]
- id: blackdoc-autoupdate-black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
hooks:
- id: mypy
exclude: 'asv_bench'
additional_dependencies: [
# Type stubs
types-PyYAML,
types-python-dateutil,
types-pytz,
types-setuptools,
typing-extensions,
# Dependencies that are typed
numpy
]
# Type stubs
types-PyYAML,
types-python-dateutil,
types-pytz,
types-setuptools,
typing-extensions,
# Dependencies that are typed
numpy
]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.3
hooks:
- id: check-github-workflows
- id: check-readthedocs

- repo: meta
hooks:
- id: check-hooks-apply
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.3
hooks:
- id: check-github-workflows
- id: check-readthedocs

- repo: meta
hooks:
- id: check-hooks-apply

ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: quarterly
skip: [ ]
submodules: false
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: quarterly
skip: [ ]
submodules: false

0 comments on commit 2d065f1

Please sign in to comment.