mirror of
https://github.com/laurentS/slowapi.git
synced 2026-03-13 09:10:20 +08:00
Use poetry run to activate venv
This commit is contained in:
committed by
Guillaume Gardey
parent
f55743f63c
commit
8ddb38ed74
6
.github/workflows/python-package.yml
vendored
6
.github/workflows/python-package.yml
vendored
@@ -33,10 +33,10 @@ jobs:
|
||||
poetry install
|
||||
- name: Check formatting with black
|
||||
run: |
|
||||
black --check .
|
||||
poetry run black --check .
|
||||
- name: Check typing annotations with mypy
|
||||
run: |
|
||||
mypy .
|
||||
poetry run mypy .
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
poetry run pytest
|
||||
|
||||
Reference in New Issue
Block a user