Skip to content

Commit

Permalink
Make flake8 config available to travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
mik3y committed Jun 25, 2017
1 parent e7742a9 commit cecea0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.md
include LICENSE.txt
include pykeg/setup.cfg
recursive-include pykeg *.html *.css *.js *.png
recursive-include deploy *
3 changes: 2 additions & 1 deletion pykeg/core/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
File renamed without changes.

0 comments on commit cecea0a

Please sign in to comment.