Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7.6-buster
FROM python:3.12

RUN mkdir /pytest_project/
COPY ./test-requirements.txt /pytest_project/
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.1'
services:
test:
build: .
Expand Down
5 changes: 1 addition & 4 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
description-file = README.md

[pytest]
python_paths = scripts
testpaths = tests
addopts = --pep8 --flakes --verbose --durations=10 --color=yes
pep8maxlinelength=100
addopts = --flakes --verbose --durations=10 --color=yes
markers =
pep8: pep8 style check
flakes: pyflakes style check
11 changes: 6 additions & 5 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
coverage==4.5.2
pytest==5.2.0
pytest-cov==2.6.1
pytest-flakes==2.0.0
pytest-pep8
coverage
pytest
pytest-cov
pytest-flakes
# pytest-pep8
pytest-pycodestyle
pytest-pythonpath
docker