Skip to content

Commit

Permalink
pre-commit: update versions of mypy, pylint and pyright checkers
Browse files Browse the repository at this point in the history
Signed-off-by: Bernhard Kaindl <[email protected]>
  • Loading branch information
bernhardkaindl committed Jan 8, 2024
1 parent 33a45f5 commit 3e8050b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,26 @@ repos:
args: [darker-xen-bugtool]
additional_dependencies:
- isort


- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.8.0
hooks:
- id: mypy
name: Run mypy to check e.g. that all expected arguments are passed to functions etc
additional_dependencies: [defusedxml, pytest, types-lxml]


- repo: https://github.com/pycqa/pylint
rev: v3.0.2
rev: v3.0.3
hooks:
- id: pylint
name: Run pylint to check that docstrings are added (and all other enabled checks)
log_file: ".git/pre-commit-pylint.log"


- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.339
rev: v1.1.345
hooks:
- id: pyright
name: Run pyright to check the unit tests for any typing warnings (use for bugtool later)
Expand Down

0 comments on commit 3e8050b

Please sign in to comment.