Skip to content

Commit

Permalink
MNT: update pre-commit config to use isort and mypy from the Exab…
Browse files Browse the repository at this point in the history
…yte pre-commit repo (fork)
  • Loading branch information
mrakitin committed Jun 27, 2023
1 parent 54d7282 commit 94f2bed
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
exclude: ^((examples|other)\/.*\/.*\.(py|poscar|csv))
repos:
- repo: https://github.com/Exabyte-io/pre-commit-hooks
rev: 2023.6.13
- repo: https://github.com/mrakitin/exabyte-io-pre-commit-hooks
rev: 09cf1c797140872602bae04b950e3afb5c38a9ee # mrakitin/SOF-6690-hooks-isort-mypy branch
hooks:
- id: ruff
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- id: mypy
exclude: ^examples\/config\.py
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.0
hooks:
- id: mypy
exclude: ^examples\/config\.py
args: [--ignore-missing-imports]
additional_dependencies: [types-requests, types-tabulate]

0 comments on commit 94f2bed

Please sign in to comment.