Skip to content

Commit

Permalink
Update pre-commit configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Pikuła <[email protected]>
  • Loading branch information
MarekPikula committed May 30, 2023
1 parent bbc56a9 commit a769cf9
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
repos:
- repo: https://github.com/python-poetry/poetry
rev: '1.4.0'
rev: "1.5.0"
hooks:
- id: poetry-check
- repo: https://github.com/ambv/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
exclude: ^example/
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
exclude: ^example/
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
- repo: local
hooks:
- id: pylint
name: pylint
entry: poetry run pylint
language: system
types: [python]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.270"
hooks:
- id: ruff
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.3.0"
hooks:
- id: mypy

exclude: ^example/

0 comments on commit a769cf9

Please sign in to comment.