Split analysis and test dependencies

This commit is contained in:
Swen Kooij 2019-10-20 17:41:31 +03:00
parent 8c78e5f978
commit 3bf7926c57
4 changed files with 14 additions and 10 deletions

View File

@ -62,7 +62,7 @@ jobs:
- run: - run:
name: Install Python packages name: Install Python packages
command: pip install -r requirements/test.txt command: pip install -r requirements/analysis.txt
- run: - run:
name: Verify formatting / linting name: Verify formatting / linting

View File

@ -0,0 +1,8 @@
-r base.txt
black==19.3b0
flake8==3.7.7
autoflake==1.3
autopep8==1.4.4
isort==4.3.20
sl-docformatter==1.4

View File

@ -1,13 +1,5 @@
-r base.txt -r base.txt
# Analysis
black==19.3b0
flake8==3.7.7
autoflake==1.3
autopep8==1.4.4
isort==4.3.20
sl-docformatter==1.4
# Tests # Tests
coverage==4.4.2 coverage==4.4.2
tox==2.9.1 tox==2.9.1

View File

@ -67,7 +67,11 @@ setup(
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
], ],
python_requires=">=3.7", python_requires=">=3.7",
install_requires=["django-postgres-extra>=2.0a7", "deprecation==2.0.7"], install_requires=[
"Django>=2.0",
"django-postgres-extra>=2.0a7",
"deprecation==2.0.7",
],
cmdclass={ cmdclass={
"lint": create_command( "lint": create_command(
"Lints the code", "Lints the code",