Adding workflow to enforce no unused imports.

This commit is contained in:
Trevor Currie
2022-06-16 23:23:03 +02:00
parent 657461b126
commit 74fc1652a7
4 changed files with 64 additions and 7 deletions

View File

@@ -40,6 +40,9 @@ jobs:
- name: Check typing annotations with mypy
run: |
poetry run mypy .
- name: Verify unused imports
run: |
poetry run flake8 --select F401 slowapi
- name: Test with pytest
# Wrapped by coverage to generate coverage data
run: |