]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Run flake8 also on cinder/common
authorGorka Eguileor <geguileo@redhat.com>
Thu, 21 Jan 2016 13:12:56 +0000 (14:12 +0100)
committerGorka Eguileor <geguileo@redhat.com>
Thu, 21 Jan 2016 13:17:34 +0000 (14:17 +0100)
commite374a952af449dc54fb22b79990d746d95629c4e
treee874d756b7f53d6c02ae7fe83c9aa29a7efd43e8
parent7e040192d4a33fbe18f569cf10d8c786c8c369f8
Run flake8 also on cinder/common

Even though testenvs pep8 and pep8-constraints included cinder/common
directory to be processed by flake8, global configuration in flake8
secion was excluding common glob preventing the directory from being
checked.

This patch removes glob from flake8 exclude section, unnecessary
cinder/common inclusion when running flake8, and fixes
cinder/common/config.py.

If we had a common directory in our code root and wanted to exclude it,
glob should be ./common instead of just common like we had now.

Change-Id: Iefc64c02335ed9296bda323fdcb5688125fb4e77
cinder/common/config.py
tox.ini