From 8321cfc1807dafd41676dabd0f2c07d70730b149 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sat, 30 Nov 2024 14:28:10 +0200 Subject: [PATCH] Add vermin hook to check for minimum python version --- .pre-commit-config.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0b22d4a..9e3cf04 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,14 +1,19 @@ repos: - repo: https://github.com/PyCQA/bandit - rev: 1.7.8 + rev: 1.8.0 hooks: - id: bandit args: [-r, -c, .bandit.yml] - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: - - id: isort \ No newline at end of file + - id: isort +- repo: https://github.com/netromdk/vermin + rev: v1.6.0 + hooks: + - id: vermin + args: ['-t=3.8-', '--violations', '--eval-annotations', '--no-tips']