diff --git a/MANIFEST.in b/MANIFEST.in index 00d3ebf35..32c5e7ce2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include README.md include LICENSE.txt +include pykeg/setup.cfg recursive-include pykeg *.html *.css *.js *.png recursive-include deploy * diff --git a/pykeg/core/tests.py b/pykeg/core/tests.py index c8c3288ff..7be878020 100644 --- a/pykeg/core/tests.py +++ b/pykeg/core/tests.py @@ -36,7 +36,8 @@ class CoreTests(TestCase): def test_flake8(self): root_path = path_for_import('pykeg') - command = 'flake8 {}'.format(root_path) + config_file = os.path.join(root_path, 'setup.cfg') + command = 'flake8 --config={} {}'.format(config_file, root_path) try: subprocess.check_output(command.split()) except subprocess.CalledProcessError as e: diff --git a/setup.cfg b/pykeg/setup.cfg similarity index 100% rename from setup.cfg rename to pykeg/setup.cfg