mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-25 11:42:54 +03:00
Split analysis and test dependencies
This commit is contained in:
parent
8c78e5f978
commit
3bf7926c57
@ -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
|
||||||
|
8
requirements/analysis.txt
Normal file
8
requirements/analysis.txt
Normal 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
|
@ -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
|
||||||
|
6
setup.py
6
setup.py
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user