File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ jobs :
8+ lint :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v6
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v6
17+ with :
18+ python-version : " 3.13"
19+ cache : " poetry"
20+
21+ - name : Install Poetry
22+ uses : snok/install-poetry@v1
23+ with :
24+ virtualenvs-create : true
25+ virtualenvs-in-project : true
26+ installer-parallel : true
27+
28+ - name : Install dependencies
29+ run : |
30+ poetry install --no-interaction --no-root
31+
32+ - name : Run black
33+ run : |
34+ poetry run black --check app
35+
36+ - name : Run isort
37+ run : |
38+ poetry run isort --check-only app
39+
40+ - name : Run flake8
41+ run : |
42+ poetry run flake8 app
43+
44+ - name : Run mypy
45+ run : |
46+ poetry run mypy app
47+
48+ - name : Run pylint
49+ run : |
50+ poetry run pylint app
You can’t perform that action at this time.
0 commit comments