File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint
2+ on : push
3+
4+ jobs :
5+ lint :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Checkout
9+ uses : actions/checkout@v3
10+
11+ - name : Set up Python
12+ uses : actions/setup-python@v6
13+ with :
14+ python-version : ' 3.12'
15+
16+ - name : Cache dependencies
17+ uses : actions/cache@v3
18+ with :
19+ path : ~/.cache/pip
20+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements_ci.txt') }}
21+
22+ - name : Install dependencies
23+ run : pip install -r requirements_ci.txt
24+
25+ - name : Run flake8
26+ run : flake8 src/ tests/ --verbose
27+
28+ - name : Run black
29+ run : black src/ tests/ --check
30+
31+ - name : Run isort
32+ run : isort src/ tests/ --check-only
Original file line number Diff line number Diff line change 1+ black
2+ flake8
3+ pep8-naming
You can’t perform that action at this time.
0 commit comments