diff --git a/doc/source/conf.py b/doc/source/conf.py
index a4f48bd02..b3f54b607 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -1,4 +1,15 @@
 # -*- coding: utf-8 -*-
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 # python-novaclient documentation build configuration file, created by
 # sphinx-quickstart on Sun Dec  6 14:19:25 2009.
diff --git a/tox.ini b/tox.ini
index d7d2b3234..be96a7984 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,4 +30,4 @@ downloadcache = ~/cache/pip
 [flake8]
 ignore = E12,F841,F811,F821,H302,H404
 show-source = True
-exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
+exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build