Skip to content

Commit 4538ef1

Browse files
committed
move linter dependencies to pyproject.toml
1 parent dfb573a commit 4538ef1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ dependencies = [
3636
"stevedore",
3737
]
3838

39+
[project.optional-dependencies]
40+
linter = [
41+
"flake8",
42+
]
3943
# https://github.com/pypa/setuptools_scm/
4044
[tool.setuptools_scm]
4145
write_to = "virtualenvwrapper/version.py"

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ setenv =
2020
FAIL_FAST = true
2121

2222
[testenv:style]
23-
deps = flake8
23+
deps = .[linter]
2424
commands = flake8 virtualenvwrapper docs/source/conf.py
2525

2626
[testenv:zsh]

0 commit comments

Comments
 (0)