Skip to content

Commit ca76b7d

Browse files
Merge pull request #626 from adamtheturtle/pip-check-reqs
Check requirements in lint
2 parents 7352691 + 0945823 commit ca76b7d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ lint:
77
flake8 .
88
isort --recursive --check-only
99
mypy src/ tests/ ci/
10+
pip-extra-reqs src/
11+
pip-missing-reqs src/
1012
pydocstyle
1113
pylint *.py src tests ci
1214
pyroma .

dev-requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
attrs==18.1.0 # Modern attrs is required for pytest
12
autoflake==1.2
23
check-manifest==0.37
34
codecov==2.0.15 # Upload coverage data
@@ -9,6 +10,7 @@ freezegun==0.3.10 # Freeze time in tests
910
hypothesis==3.57.0 # Generate test cases
1011
isort==4.3.4 # Lint imports
1112
mypy==0.600 # Type checking
13+
pip_check_reqs==2.0.3
1214
pydocstyle==2.1.1 # Lint docstrings
1315
pyenchant==2.0.0 # Bindings for a spellchecking sytem
1416
pylint==1.9.1 # Lint

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
attrs==18.1.0
21
constantly==15.1.0 # Symbolic constants.
32
pillow==5.1.0 # Image library.
43
pytz==2018.4

0 commit comments

Comments
 (0)