summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml23
1 files changed, 8 insertions, 15 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e933a9d..bdfb5ab 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,15 +1,17 @@
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
-files: ^(anta|docs|scripts|tests)/
+files: ^(anta|docs|scripts|tests|asynceapi)/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
+ exclude: docs/.*.svg
- id: end-of-file-fixer
- id: check-added-large-files
+ exclude: tests/data/.*$
- id: check-merge-conflict
- repo: https://github.com/Lucas-C/pre-commit-hooks
@@ -41,7 +43,7 @@ repos:
- '<!--| ~| -->'
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.3.5
+ rev: v0.4.2
hooks:
- id: ruff
name: Run Ruff linter
@@ -72,25 +74,16 @@ repos:
types: [text]
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v1.9.0
+ rev: v1.10.0
hooks:
- id: mypy
name: Check typing with mypy
args:
- --config-file=pyproject.toml
additional_dependencies:
- - "aio-eapi==0.3.0"
- - "click==8.1.3"
- - "click-help-colors==0.9.1"
- - "cvprac~=1.3"
- - "netaddr==0.8.0"
- - "pydantic~=2.0"
- - "PyYAML==6.0"
- - "requests>=2.27"
- - "rich~=13.4"
- - "asyncssh==2.13.1"
- - "Jinja2==3.1.2"
+ - anta[cli]
- types-PyYAML
- - types-paramiko
- types-requests
+ - types-pyOpenSSL
+ - pytest
files: ^(anta|tests)/