Skip to content

Commit

Permalink
Clean up ruff commands
Browse files Browse the repository at this point in the history
  • Loading branch information
edtechre committed Apr 3, 2024
1 parent dfe5782 commit a62e437
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: python -m pip install tox

- name: Run ruff
run: tox -e format -- --fix
run: tox -e format

lint:
name: Lint
Expand All @@ -34,7 +34,7 @@ jobs:
run: python -m pip install tox

- name: Run ruff
run: tox -e lint -- check
run: tox -e lint

typecheck:
name: Type check
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ skip_install = True
deps =
ruff
commands =
ruff {posargs:--fix src tests}
ruff check {posargs:--fix --diff src tests}

[testenv:lint]
skip_install = True
deps =
ruff
commands =
ruff {posargs:src tests}
ruff check {posargs:src tests}

[testenv:docs]
deps =
Expand Down

0 comments on commit a62e437

Please sign in to comment.