diff --git a/.circleci/config.yml b/.circleci/config.yml index 237a3f62..eb10bbe3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -102,6 +102,7 @@ jobs: - image: cimg/python:3.11 environment: TOXENV: py311-core + workflows: version: 2 test: diff --git a/.project-template/fill_template_vars.py b/.project-template/fill_template_vars.py index 8d4bc35f..bbbe2f7f 100644 --- a/.project-template/fill_template_vars.py +++ b/.project-template/fill_template_vars.py @@ -7,7 +7,7 @@ def _find_files(project_root): - path_exclude_pattern = r"\.git($|\/)|venv|_build" + path_exclude_pattern = r"\.git($|\/)|venv|_build|\.tox" file_exclude_pattern = r"fill_template_vars\.py|\.swp$" filepaths = [] for dir_path, _dir_names, file_names in os.walk(project_root): diff --git a/MANIFEST.in b/MANIFEST.in index e870a411..22c6165d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,5 @@ include LICENSE include README.md -include requirements-docs.txt global-include *.pyi diff --git a/setup.py b/setup.py index 33f94256..a18d9bc4 100644 --- a/setup.py +++ b/setup.py @@ -11,8 +11,8 @@ "pytest-xdist>=2.4.0", ], "lint": [ - "flake8>=5.0.0", - "flake8-bugbear>=22.0.0", + "flake8==6.0.0", + "flake8-bugbear==23.3.23", "isort>=5.10.1", "mypy==0.971", "pydocstyle>=5.0.0", @@ -26,7 +26,7 @@ "dev": [ "bumpversion>=0.5.3", "pytest-watch>=4.1.0", - "tox>=3.18.0", + "tox>=4.0.0", "wheel", "twine", "ipython", diff --git a/tox.ini b/tox.ini index 64147d4f..e5255baa 100644 --- a/tox.ini +++ b/tox.ini @@ -14,16 +14,16 @@ multi_line_output=3 profile=black [flake8] -max-line-length= 88 -exclude= venv*,.tox,docs,build -extend-ignore= E203 +max-line-length=88 +exclude=venv*,.tox,docs,build +extend-ignore=E203 [testenv] usedevelop=True commands= core: pytest {posargs:tests/core} docs: make check-docs -basepython = +basepython= docs: python py37: python3.7 py38: python3.8