Skip to content

Commit

Permalink
Bump pre-commit versions + add isort
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional committed Jan 4, 2024
1 parent c985b75 commit 41ec5be
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.5.0
hooks:
- id: check-yaml
exclude: '\.*conda/.*'
Expand All @@ -16,24 +16,38 @@ repos:
- id: check-added-large-files

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.31.1
rev: v0.38.0
hooks:
- id: markdownlint
args: ["--config", ".markdownlint.json"]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)

- repo: https://github.com/ambv/black
rev: "22.3.0"
rev: 23.12.1
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.0
rev: v0.1.11
hooks:
- id: ruff

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.960"
rev: v1.8.0
hooks:
- id: mypy
args:
[
--pretty,
--show-error-codes,
--no-strict-optional,
--ignore-missing-imports,
--install-types,
--non-interactive,
]
additional_dependencies: [types-PyYAML==6.0.4, types-toml]

0 comments on commit 41ec5be

Please sign in to comment.