Last active
August 29, 2015 14:10
-
-
Save juanpabloaj/aeb7f489f987e2d4280b to your computer and use it in GitHub Desktop.
run test and flake8 with watchdog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install watchdog nose nose-cov flake8 | |
# watchmedo tricks-from tricks.yaml | |
tricks: | |
- watchdog.tricks.ShellCommandTrick: | |
patterns: ["*.py"] | |
shell_command: "nosetests --with-cov && flake8 $(find . -name '*.py') --ignore W191" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment