Skip to content

Commit ae9f324

Browse files
committed
Removed lines for installing flake8 and pytest and added flake8 as a dev dependency.
1 parent 6f40c1b commit ae9f324

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ jobs:
2626
rm get-poetry.py
2727
- name: Lint with flake8
2828
run: |
29-
pip install flake8
3029
# stop the build if there are Python syntax errors or undefined names
3130
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3231
# the GitHub editor is 127 chars wide
3332
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
3433
- name: Test with pytest
3534
run: |
36-
pip install pytest
3735
pytest

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ requests = "2.22.0"
1717
pytest = "4.6.6"
1818
jsonschema = "3.2.0"
1919
pytest-runner = "5.2"
20+
flake8 = "^3.7.9"
2021

2122
[build-system]
2223
requires = ["poetry>=0.12"]

0 commit comments

Comments
 (0)