diff --git a/.gitignore b/.gitignore index 517da526..3739b50a 100644 --- a/.gitignore +++ b/.gitignore @@ -20,7 +20,7 @@ __pycache__/ .Python build/ develop-eggs/ -dist/ +dist*/ downloads/ eggs/ .eggs/ diff --git a/pyproject.toml b/pyproject.toml index 20b59f0a..b95b431d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,7 @@ graphviz = ">=0.20.1" http-server-mock = ">=1.7" myst-parser = ">=0.19.1" pip = ">=22.0" -poetry = ">=1.5.1" +poetry = ">=1.8.0" pre-commit = ">=2.20.0" pre-commit-update = ">=0.1.3" pylint = {extras = ["spelling"], version = "3.1.0"} # Update this by running scripts/update_development_dependencies.py @@ -423,8 +423,8 @@ commands = !tests: pyright . !tests: pyright --verifytypes tm_devices --ignoreexternal !tests: pyroma . - !tests: poetry build - !tests: twine check --strict dist/* + !tests: poetry build --output=dist_{envname} + !tests: twine check --strict dist_{envname}/* !tests: pre-commit run --all-files --show-diff-on-failure pytest -vv -k "not test_docs" --showlocals --cov --junitxml={tox_root}/.results_{envname}/results.xml --cov-report=term --cov-report=xml:{tox_root}/.coverage_{envname}.xml --cov-report=html:{tox_root}/.results_{envname}/html --self-contained-html --html={tox_root}/.results_{envname}/results.html