diff --git a/Dockerfile b/Dockerfile index c23c391..ad60f92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.6-buster +FROM python:3.12 RUN mkdir /pytest_project/ COPY ./test-requirements.txt /pytest_project/ diff --git a/docker-compose.yaml b/docker-compose.yaml index 703a66d..da86d15 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,4 +1,3 @@ -version: '3.1' services: test: build: . diff --git a/pytest.ini b/pytest.ini index faf0e9c..5bd1f8b 100644 --- a/pytest.ini +++ b/pytest.ini @@ -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 diff --git a/test-requirements.txt b/test-requirements.txt index 99eafa3..a98e67a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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