Skip to content

Commit

Permalink
⬆️ update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Dec 12, 2023
1 parent 51744e3 commit 6f83309
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.7.1
hooks:
- id: mypy
args: [--ignore-missing-imports, --follow-imports=skip]
additional_dependencies: [types-requests]

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.9.3
rev: v5.10.1
hooks:
- id: isort
args: [--profile=black]
- repo: https://github.com/PYCQA/flake8
rev: 6.1.0

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
hooks:
- id: flake8
args: [--max-line-length=120]
- id: ruff
args: [ --fix ]
- id: ruff-format
types_or: [ python, pyi, jupyter ]

0 comments on commit 6f83309

Please sign in to comment.