From 57f704845136d9d0f0266c880cfa1dd7b902e880 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 07:06:51 +0200 Subject: Merging upstream version 0.15.0. Signed-off-by: Daniel Baumann --- .pre-commit-config.yaml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to '.pre-commit-config.yaml') 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)/ -- cgit v1.2.3