File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,21 @@ steps:
2828- script : |
2929 python -m pip install --upgrade pip
3030 pip install -r requirements.txt
31- pip install black
32- pip install flake8
33- pip install pydocstyle
34- flake8 bashplot/ --count --max-line-length=88 --ignore=W293,W291 --statistic
35- black bashplot/ --check -v
36- pydocstyle bashplot/bashplot.py
31+ pip install -r dev-requirements.txt
3732 displayName : ' Install dependencies'
3833
34+ - script : |
35+ flake8 bashplot/ --count --max-line-length=88 --ignore=W293,W291 --statistic
36+ black . --check -v
37+ isort . --check -v
38+ flake8 . --count --exit-zero --max-complexity=10 --statistics
39+ pydocstyle --convention=numpy -e bashplot/bashplot.py
40+ displayName : ' Check style and settings'
41+
3942- script : |
4043 python setup.py install
4144 displayName : ' Install bashplot'
4245
4346- script : |
44-
45- pip install coverage
46- pip install pytest-azurepipelines
47- cd test
48- coverage run -m unittest test_bashplot.py
49- coverage report
47+ pytest -vv --cov=./test --cov-report=xml
5048 displayName : ' pytest'
You can’t perform that action at this time.
0 commit comments