Skip to content

Commit

Permalink
Travis: Enforce PEP8
Browse files Browse the repository at this point in the history
Add Python style checks to travis via
flake8 tests.
  • Loading branch information
ax3l committed Jul 24, 2017
1 parent 3fcad20 commit aa6bbc8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
language: cpp
sudo: false

addons:
apt:
packages:
- flake8

script:
#############################################################################
# Disallow PRs to `ComputationalRadiationPhysics/picongpu` branch `master` #
Expand Down Expand Up @@ -35,3 +40,8 @@ script:
# Disallow spaces before pre-compiler macros #
#############################################################################
- test/hasSpaceBeforePrecompiler

#############################################################################
# Test Python Files for PEP8 conformance #
#############################################################################
- flake8 --exclude=thirdParty .

0 comments on commit aa6bbc8

Please sign in to comment.