Skip to content

Commit

Permalink
tox: Add "fix" target for tox
Browse files Browse the repository at this point in the history
This does "ruff check --fix" and "ruff format"

Signed-off-by: Jussi Kukkonen <[email protected]>
  • Loading branch information
jku committed Jan 14, 2025
1 parent 9ddbe86 commit abd247f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ commands =

mypy {[testenv:lint]lint_dirs}

[testenv:fix]
deps = {[testenv:lint]deps}
commands =
ruff check --fix {[testenv:lint]lint_dirs}
ruff format {[testenv:lint]lint_dirs}

# Requires docker running
[testenv:local-aws-kms]
deps =
Expand Down

0 comments on commit abd247f

Please sign in to comment.