mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 05:05:48 +08:00
Merge branch 'master' of github.com:quantopian/zipline
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# An hook script to verify linting and passing unit tests.
|
||||
#
|
||||
# Called by "git commit" with no arguments. The hook should
|
||||
# exit with non-zero status after issuing an appropriate message if
|
||||
# it wants to stop the commit.
|
||||
#
|
||||
# To enable this hook, copy or symlink to your repo's
|
||||
# ".git/hooks/pre-commit".
|
||||
#
|
||||
# Please read the following as it will execute on your machine on each commit.
|
||||
|
||||
set -e
|
||||
|
||||
# Run flake8 linting
|
||||
flake8 zipline tests
|
||||
# Run unit tests
|
||||
nosetests -x
|
||||
Reference in New Issue
Block a user