summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-11-12 18:03:46 +0000
committerChandan Singh <chandan@chandansingh.net>2019-11-14 21:21:46 +0000
commit6130ea6767f91f40e84c83b038f36d3d984fe3c7 (patch)
treefd042e16517eedf7e607c8b2a6b105df9b83a2f6 /tox.ini
parent91c6bb651beb0954840635a22b7b4b74fd35ac08 (diff)
downloadbuildstream-6130ea6767f91f40e84c83b038f36d3d984fe3c7.tar.gz
Start linting doc/source/conf.py
Add `doc/source/conf.py` to the filelist for Black and Pylint. Previously this file was not covered by any of the linters, so this patch includes one-off sweeping changes for the formatting. To make pylint happy, we had to disable a warning about defining a variable called `copyright` since that's a built-in. It's unlikely that we will ever need the built-in `copyright()` in this module, so it seems safe to disable it.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index bd07e9e6c..30e398ceb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -110,7 +110,7 @@ skip_install = True
deps =
black==19.10b0
commands =
- black {posargs: src tests}
+ black {posargs: src tests doc/source/conf.py}
#
# Code format checkers
@@ -120,7 +120,7 @@ skip_install = True
deps =
black==19.10b0
commands =
- black --check --diff {posargs: src tests}
+ black --check --diff {posargs: src tests doc/source/conf.py}
#
# Running linters
@@ -131,7 +131,7 @@ commands_pre =
{envpython} setup.py build_ext --inplace
commands =
- pylint {posargs: src tests}
+ pylint {posargs: src tests doc/source/conf.py}
deps =
-rrequirements/requirements.txt
-rrequirements/dev-requirements.txt