Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move tox.ini to pyproject.toml #1638

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,35 @@ unfixable = []
"src/moin/utils/SubProcess.py" = ["F401", "F821"] # 3rd party stuff, patched stdlib code
"src/moin/config/default.py" = ["F401", "F403"]
"src/moin/datastructures/__init__.py" = ["F401"]

[tool.tox]
legacy_tox_ini = """
# tox configuration - if you change anything here, run this to verify:
# tox --recreate

# run like this:
# tox
# tox -e py39
# tox -- -v -k test_wikiutil
# tox -- -v

[tox]
envlist = py{39,310,311,312},ruff

[testenv]
deps = -rrequirements.d/development.txt
setenv =
# some tests expect a specific order in dicts...
PYTHONHASHSEED = 0
# needed so that lxml can build from source (e.g. on pypy):
CFLAGS = -I/usr/include/libxml2
commands = pytest -rs --pyargs {posargs:moin}

[testenv:ruff]
skip_sdist=true
skip_install=true
changedir =
deps =
ruff
commands = ruff check .
"""
28 changes: 0 additions & 28 deletions tox.ini

This file was deleted.