[Repo] Added vermin check

- To avoid introducing Python incompatibilities
This commit is contained in:
Salvador E. Tropea 2023-08-10 09:18:29 -03:00
parent 73097d7963
commit 2beb0c4ecb
1 changed files with 7 additions and 0 deletions

View File

@ -92,3 +92,10 @@ repos:
# hooks:
# - id: python-bandit-vulnerability-check
# TODO: mdformat --wrap 75 README.md --number
- repo: https://github.com/netromdk/vermin
rev: v1.5.2 # ex: 'e88bda9' or 'v1.3.4'
hooks:
- id: vermin
# specify your target version here, OR in a Vermin config file as usual:
args: ['-t=3.7-', '--violations']
# (if your target is specified in a Vermin config, you may omit the 'args' entry entirely)