From 980878464532f153a5197ff6b9c9a17a929dd8be Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Sat, 18 Nov 2023 22:20:06 +0100 Subject: [PATCH] Add a config file for vermin --- .github/workflows/test.yml | 2 +- .vermin | 4 ++++ Makefile | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .vermin diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f1cd43..5417a2f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: pytest - name: Validate minimum required version run: | - vermin --target=3.7 --no-tips . + vermin toot - name: Check style run: | flake8 diff --git a/.vermin b/.vermin new file mode 100644 index 0000000..7668f86 --- /dev/null +++ b/.vermin @@ -0,0 +1,4 @@ +[vermin] +only_show_violations = yes +show_tips = no +targets = 3.7 \ No newline at end of file diff --git a/Makefile b/Makefile index 2b0db11..438912b 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ publish : test: pytest -v flake8 - vermin --target=3.7 --no-tips --violations --exclude-regex venv/.* . + vermin toot coverage: coverage erase