File tree 2 files changed +17
-12
lines changed
2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 8
8
- uses : actions/setup-python@v4
9
9
with :
10
10
python-version : 3.x
11
- - run : pip install --upgrade pip
12
- - run : pip install black codespell flake8 isort mypy pytest pyupgrade tox
13
- - run : black --check .
14
- - run : codespell --quiet-level=2 # --ignore-words-list="" --skip=""
15
- - run : flake8 . --count --show-source --statistics
16
- - run : isort --profile black .
17
- - run : tox
18
- - run : pip install -e .
19
- - run : mypy --ignore-missing-imports . || true
20
- - run : pytest .
21
- - run : pytest --doctest-modules . || true
22
- - run : shopt -s globstar && pyupgrade --py37-plus **/*.py
11
+ - shell : bash
12
+ name : Lint and test
13
+ run : ./lint.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ pip install --upgrade pip
4
+ pip install black codespell flake8 isort mypy pytest pyupgrade tox
5
+ black --check .
6
+ codespell --quiet-level=2 # --ignore-words-list="" --skip=""
7
+ flake8 . --count --show-source --statistics
8
+ isort --profile black .
9
+ tox
10
+ pip install -e .
11
+ mypy --ignore-missing-imports . || true
12
+ pytest .
13
+ pytest --doctest-modules . || true
14
+ shopt -s globstar && pyupgrade --py37-plus ** /* .py
You can’t perform that action at this time.
0 commit comments