Skip to content

Commit

Permalink
Extract formatting to a script
Browse files Browse the repository at this point in the history
  • Loading branch information
arnavb committed Feb 23, 2019
1 parent a6e8cbf commit a98be98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ matrix:
python: 3.6
script:
- pip install black
- find code/ -type f -name "*.py" | xargs black --check
- ./scripts/python_code_style_checker.sh

before_install:
- eval "${MATRIX_EVAL}"
3 changes: 3 additions & 0 deletions scripts/python_code_style_checker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

find code/ -type f -name "*.py" | xargs black --check

0 comments on commit a98be98

Please sign in to comment.