mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 14:40:48 +03:00
Add linters workflow
This commit is contained in:
parent
011f6c2dc3
commit
35320d3da6
18
.github/workflows/linters.yml
vendored
Normal file
18
.github/workflows/linters.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: Linters
|
||||||
|
|
||||||
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
mypy:
|
||||||
|
name: Run mypy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.9
|
||||||
|
- run: pip install tox
|
||||||
|
- run: tox
|
||||||
|
env:
|
||||||
|
TOXENV: mypy
|
Loading…
Reference in New Issue
Block a user