We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb56667 commit 1c5aa33Copy full SHA for 1c5aa33
1 file changed
tasks/check.py
@@ -12,7 +12,9 @@
12
def compile_(ctx):
13
print("======================= compile ========================")
14
print("------- Compile all .py files (syntax check test) ------")
15
- compileall.compile_dir(".", rx=re.compile(r"/virtualenv|virtualenv-osx|virtualenv-py3|.tox|.git|.venv-st2devbox"), quiet=True)
+ rgx = re.compile(r"/virtualenv|virtualenv-osx|virtualenv-py3|.tox|.git|.venv-st2devbox")
16
+ if not compileall.compile_dir(".", rx=rgx, quiet=True):
17
+ raise Exception("Could not compile all files")
18
19
20
@task(copy.copy_pack_to_subdirectory)
0 commit comments