summaryrefslogtreecommitdiffstats
path: root/jenkins_jobs/sphinx
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@redhat.com>2018-10-27 10:20:28 +0100
committerSorin Sbarnea <ssbarnea@redhat.com>2018-10-28 11:44:43 +0000
commit539d13e81610cbc70c948c74f1d064175ce55384 (patch)
tree8f4daa2d8d4cc21eef09a6a49e0e74291080b3fd /jenkins_jobs/sphinx
parent4652775214cd9cf0d63c9f936318aea38de16256 (diff)
downloadpython-jenkins-job-builder-539d13e81610cbc70c948c74f1d064175ce55384.tar.gz
python-jenkins-job-builder-539d13e81610cbc70c948c74f1d064175ce55384.tar.xz
python-jenkins-job-builder-539d13e81610cbc70c948c74f1d064175ce55384.zip
Fix flake8 failures and make its execution more consistent
- upgrade flake8 to 3.6.0 - remove use of hacking since pre-commit replaced it - mentioned minimal flake8 version on pre-commit config - fixed newer linting errors - disable W504 as it seems not possible to fix (conflict with W403) - replaced buggy tox deps installation with native pip install, which address the issue of missing to install new deps when the reqs files are updated, developer being forced to to recreate the virtualenv. - prepare for migration from tox-pep8 to tox-linters, now these being just aliases. Change-Id: I310578dce215aaf00a5b2d54716f90da9a1ecb4d Depends-On: https://review.openstack.org/#/c/613726/
Diffstat (limited to 'jenkins_jobs/sphinx')
-rw-r--r--jenkins_jobs/sphinx/yaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins_jobs/sphinx/yaml.py b/jenkins_jobs/sphinx/yaml.py
index d12fa580..2c7083f7 100644
--- a/jenkins_jobs/sphinx/yaml.py
+++ b/jenkins_jobs/sphinx/yaml.py
@@ -29,7 +29,7 @@ from sphinx.ext.autodoc import FunctionDocumenter
from sphinx.locale import _
-yaml_sig_re = re.compile('yaml:\s*(.*)')
+yaml_sig_re = re.compile(r'yaml:\s*(.*)')
class PyYAMLFunction(PyModulelevel):