Skip to content

Commit

Permalink
test: run isort in lint env
Browse files Browse the repository at this point in the history
  • Loading branch information
un-def committed Apr 16, 2024
1 parent bab1965 commit d791807
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ lines_after_imports = 2
multi_line_output = 5
include_trailing_comma = true
use_parentheses = true
skip_glob = ['.*']

[tool.pytest.ini_options]
testpaths = ['tests']
Expand All @@ -59,12 +60,12 @@ markers = [
legacy_tox_ini = '''
[tox]
envlist =
lint
py38
py39
py310
py311
py312
flake8
[testenv]
passenv = TEST_SHELL_*
Expand All @@ -76,9 +77,13 @@ commands = pytest {posargs}
[testenv:test-ci]
[testenv:flake8]
[testenv:lint]
basepython = python3.8
skip_install = true
deps = flake8
commands = flake8
deps =
flake8
isort
commands =
flake8
isort -c .
'''

0 comments on commit d791807

Please sign in to comment.