Skip to content

Commit c261daa

Browse files
committed
Upgrade test dependencies, remove flake8
pytest: 6 → 7 pytest-cov: 2.7 → 4.1 pytest-django: 4.4 → 4.6 pytest-dotenv: 0.3 → 0.5 model-mommy: 1.6 → 2.0 frezegun: 0.3 → 1.2
1 parent 5538a14 commit c261daa

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

interna/config/tests/test_robots.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from django.http import HttpResponse
21
from django.test import Client
32

43

interna/setup.cfg

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
[tool:pytest]
22
DJANGO_SETTINGS_MODULE = config.settings
3-
addopts = --cov front --cov memberdb --cov-config .coveragerc --flake8 --tb=short
3+
addopts = --cov front --cov memberdb --cov-config .coveragerc --tb=short
44
env_files =
55
.env
66
python_files = test_*.py
7-
flake8-max-line-length = 99
8-
flake8-ignore =
9-
*.py E126 E127 E128
10-
setup.py ALL
11-
settings.py ALL
12-
*/migrations/* ALL
13-
*/tests/* ALL
14-
wsgi.py ALL

requirements.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ commonmark>=0.9,<0.10
1919
django-extensions>=2,<3
2020

2121
# Testing
22-
pytest>=6,<7
23-
pytest-cov>=2.7,<2.8
24-
pytest-django~=4.4.0
25-
flake8<4 # https://github.com/tholo/pytest-flake8/issues/81
26-
pytest-flake8~=1.0.7
27-
pytest-dotenv>=0.3,<0.4
28-
model-mommy>=1.6,<1.7
29-
freezegun>=0.3.9,<0.4
22+
pytest>=7,<8
23+
pytest-cov~=4.1.0
24+
pytest-django~=4.6.0
25+
pytest-dotenv~=0.5.2
26+
model-mommy~=2.0.0
27+
freezegun~=1.2.2
3028

3129
# Deployment
3230
gunicorn>=21,<22

0 commit comments

Comments
 (0)