Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Optional flag for failing on modified code tree #11

Merged
merged 2 commits into from
Apr 19, 2017

Conversation

amrhassan
Copy link
Contributor

@amrhassan amrhassan commented Apr 19, 2017

I've added an optional boolean flag --fail-on-modified to make the script fail with a non-zero exit status in the case of dirty code tree. Current behaviour is still intact if the flag is not passed.

I've also fixed a flake8 issue in setup.py because it failed the test on Travis.

Closes #9

@coveralls
Copy link

Coverage Status

Coverage increased (+0.8%) to 94.231% when pulling 0dc6644 on amrhassan:fail-on-modified into 6a008c6 on zalando-stups:master.

@hjacobs
Copy link
Contributor

hjacobs commented Apr 19, 2017

Thanks for the PR!

@hjacobs
Copy link
Contributor

hjacobs commented Apr 19, 2017

👍

@hjacobs hjacobs merged commit c9dd3c5 into zalando-stups:master Apr 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return an error code when source is locally modified
3 participants