[tox]1envlist = tests, lint2skipsdist = True34[testenv:tests]56allowlist_externals =7sage8parallel910passenv =11SAGE_ROOT12SAGE_LOCAL13HOME1415commands =16parallel --group 'echo "Running test on {}"; sage -python -m pytest -vv --durations=0 {}' ::: {posargs}1718[testenv:lint]19allowlist_externals =20pyflakes21pylint22ruff2324commands =25pyflakes start-lmfdb.py user-manager.py lmfdb/26pylint --score=no -d C,R,E,W -e W0129,W0108 start-lmfdb.py user-manager.py lmfdb/27# see https://pycodequ.al/docs/pylint-messages/Warnings.html28# E722 do not use bare except, specify exception instead (requires author input)29# Styling issues now handled by autopep8 workflow instead of ruff linter30ruff check --preview --select=E722 lmfdb/313233