Skip to content

Commit

Permalink
Allow tox -e lint -- --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Sep 7, 2024
1 parent e44ca67 commit c21d877
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ minversion = 4.0.0
envlist =
lint,
tests,
mypy,
apidocs


Expand All @@ -11,14 +12,14 @@ wheel = true
wheel_build_env = build
skip_install =
lint: true
pindeps: true
mypy: true
apidocs: true
pindeps: true
deps =
lint: -rrequirements_lint.txt
tests: -rrequirements_tests.txt
mypy: -rrequirements_mypy.txt
apidocs: pydoctor
lint: -rrequirements_lint.txt
pindeps: pip-tools

setenv =
Expand All @@ -33,7 +34,7 @@ setenv =
commands =
python -V

lint: ruff check src/ tests/
lint: ruff check src/ tests/ {posargs}

apidocs: pydoctor -q --project-name incremental src/incremental

Expand Down

0 comments on commit c21d877

Please sign in to comment.