diff --git a/pyproject.toml b/pyproject.toml index f0d5a04..59b5683 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -334,73 +334,3 @@ python = """ 3.12: py312, coveralls, docs, package 3.13: py313 """ - -[tool.tox1] -legacy_tox_ini = """ - [tox] - env_list = {py311, py312}, coveralls, docs, package - isolated_build = true - no_package = false - requires = - tox>4 - skip_missing_interpreters = true - - - [gh-actions] - python = - 3.11: py311 - 3.12: py312, coveralls, docs, package - - - [testenv] - commands = - ruff check . - ruff format --check . - pyright . - coverage erase - pytest {posargs:.} - coverage html - deps = - . - description = test and lint the project - download = true - extras = - test - set_env = - PYTHONPATH = {toxinidir}/src - PYRIGHT_PYTHON_FORCE_VERSION = latest - - - ;If running outside Github, ensure that the the `COVERALLS_REPO_TOKEN` - ;environment variable is set. - [testenv:coveralls] - commands = - coveralls --service=github - description = submit coverage results to coverall.io - extras = - test - pass_env = - COVERALLS_REPO_TOKEN - GITHUB_* - - - [testenv:docs] - changedir = docs - commands = - sphinx-build -EW --keep-going -b html . {toxinidir}/docs/build/html - sphinx-lint -i api - description = build sphinx documentation - extras = - docs - - - [testenv:package] - commands = - python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)" - python -m build - depends = testenv - deps = - build - description = build the library - skip_install = true -"""