Browse Source

Enable pep8 check for config.py in doc

Directory doc is excluded from pep8 check in tox.ini, since we
modified file doc/source/config.py, we should enable the check.

Change-Id: I057f1e6cb1c5f9a6a07043056078e4475f66f288
tags/2.16.0
JUN JIE NAN 5 years ago
parent
commit
25041fe6fa
2 changed files with 12 additions and 1 deletions
  1. 11
    0
      doc/source/conf.py
  2. 1
    1
      tox.ini

+ 11
- 0
doc/source/conf.py View File

@@ -1,4 +1,15 @@
1 1
 # -*- coding: utf-8 -*-
2
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
3
+# not use this file except in compliance with the License. You may obtain
4
+# a copy of the License at
5
+#
6
+#      http://www.apache.org/licenses/LICENSE-2.0
7
+#
8
+# Unless required by applicable law or agreed to in writing, software
9
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11
+# License for the specific language governing permissions and limitations
12
+# under the License.
2 13
 #
3 14
 # python-novaclient documentation build configuration file, created by
4 15
 # sphinx-quickstart on Sun Dec  6 14:19:25 2009.

+ 1
- 1
tox.ini View File

@@ -30,4 +30,4 @@ downloadcache = ~/cache/pip
30 30
 [flake8]
31 31
 ignore = E12,F841,F811,F821,H302,H404
32 32
 show-source = True
33
-exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
33
+exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build

Loading…
Cancel
Save