Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hirosassa committed Jan 19, 2025
1 parent 62f195a commit 6c32e93
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ setenv =
LUIGI_CONFIG_PATH={toxinidir}/test/testconfig/luigi.cfg
TEST_VISUALISER=1
commands =
python --version
pytest test/visualiser
{envpython} --version
{envpython} -m pytest test/visualiser

# Flake8 Configuration, inspired from https://gitlab.com/pycqa/flake8/blob/master/tox.ini
# By putting it here, local flake8 runs will also pick it up.
Expand All @@ -96,13 +96,13 @@ builtins = unicode
runner = uv-venv-lock-runner
dependency_groups = lint
commands =
flake8 --exclude=doc,.tox
flake8 --max-line-length=100 --ignore=E265 doc
{envpython} -m flake8 --exclude=doc,.tox
{envpython} -m flake8 --max-line-length=100 --ignore=E265 doc

[testenv:isort]
runner = uv-venv-lock-runner
dependency_groups = lint
commands = isort -w 120 -rc luigi test examples bin
commands = {envpython} -m isort -w 120 -rc luigi test examples bin

[testenv:docs]
runner = uv-venv-lock-runner
Expand All @@ -111,7 +111,7 @@ runner = uv-venv-lock-runner
dependency_groups = docs
commands =
# build API docs
sphinx-apidoc -o doc/api -T luigi --separate
{envpython} -m sphinx-apidoc -o doc/api -T luigi --separate

# build HTML docs
sphinx-build -W -b html -d {envtmpdir}/doctrees doc doc/_build/html
{envpython} -m sphinx-build -W -b html -d {envtmpdir}/doctrees doc doc/_build/html

0 comments on commit 6c32e93

Please sign in to comment.