From 9e7b67211c5469958b8c8d167a0d779575cb32b1 Mon Sep 17 00:00:00 2001 From: Dantali0n <info@dantalion.nl> Date: Fri, 7 Jul 2023 07:27:27 +0200 Subject: [PATCH] Update linting paths for new code structure --- {{cookiecutter.project_slug}}/tox.ini | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/{{cookiecutter.project_slug}}/tox.ini b/{{cookiecutter.project_slug}}/tox.ini index 30966a5..4351731 100644 --- a/{{cookiecutter.project_slug}}/tox.ini +++ b/{{cookiecutter.project_slug}}/tox.ini @@ -31,14 +31,14 @@ usedevelop = False envdir = {toxworkdir}/linting commands = pep8: {envpython} -m flake8 --version - pep8: {envpython} -m flake8 --extend-exclude './.venv/','./venv/' + pep8: {envpython} -m flake8 src tests black: {envpython} -m black --version - black: {envpython} -m black --check --diff . + black: {envpython} -m black --check --diff src tests pylint: {envpython} -m pylint --version - pylint: {envpython} -m pylint {{cookiecutter.project_slug}} tests - format: {envpython} -m autopep8 -v -aa --in-place --recursive {{cookiecutter.project_slug}} + pylint: {envpython} -m pylint src tests + format: {envpython} -m autopep8 -v -aa --in-place --recursive src format: {envpython} -m autopep8 -v -aa --in-place --recursive tests - format: {envpython} -m black -v . + format: {envpython} -m black -v src tests [testenv:{build-local,build-ci-linux}] deps = -- GitLab