Skip to content

Commit c6c1a4d

Browse files
committed
tox: Run flake8 on 'docs' too
There's only one Python file here but it's an easy addition. Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 32e887f commit c6c1a4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import git_pw
66

77
try:
8-
import sphinx_rtd_theme
8+
import sphinx_rtd_theme # noqa
99
has_rtd_theme = True
1010
except ImportError:
1111
has_rtd_theme = False

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ skip_install = true
1515
deps =
1616
flake8
1717
commands =
18-
flake8 {posargs:git_pw tests}
18+
flake8 {posargs:git_pw tests docs}
1919

2020
[testenv:mypy]
2121
deps=

0 commit comments

Comments
 (0)