Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Non-unix exit codes and non-multiprocess exit code fix (#55)
* Allow windows exit codes. Fixes #48 * Fixes tests for fix #49 * change final os.EX_OK * Simplify exit codes * Correct exit codes when vladiate fails * Move tests * Don't lint ./dist
- Loading branch information
Showing
9 changed files
with
57 additions
and
83 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[flake8] | ||
max-line-length = 80 | ||
exclude = *.egg,.state,build,.tox | ||
exclude = *.egg,.state,build,.tox,dist | ||
select = E,W,F,N |
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
File renamed without changes.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
""" A collection of exit codes that work on non-UNIX systems """ | ||
|
||
import os | ||
|
||
OK = getattr(os, 'EX_OK', 0) | ||
DATAERR = getattr(os, 'EX_DATAERR', 65) | ||
NOINPUT = getattr(os, 'EX_NOINPUT', 66) | ||
UNAVAILABLE = getattr(os, 'EX_UNAVAILABLE', 69) |
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