-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add github support, python3, custom template, prod-mode
* python3 compatability * add bypass option for debugging in a local environment * cleanup package organization a bit * add github provider support * allow custom jinja template * use gevent or twisted for production mode
- Loading branch information
1 parent
6684037
commit 6aba49b
Showing
26 changed files
with
1,960 additions
and
392 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[flake8] | ||
# E111: indentation is not a multiple of four | ||
# E118: indentation is not a multiple of four (comment) | ||
# W503: line break before binary operator | ||
# W504: line break after binary operator | ||
|
||
# NOTE(josh): the following were added to pass checks for current state. | ||
# Remove them as you clean things up. | ||
# C901: xxx is too complex | ||
# E121: continuation line under-indented for hanging indent | ||
# E125: continuation line with same indent as next logical line | ||
# E126: continuation line over-indented for hanging indent | ||
# E129: visually indented line with same indent as next logical line | ||
# E501: line too long | ||
# E722: do not use bare 'except' | ||
# F401: xxx imported but unused | ||
# F403: from xxx import * used; unable to detect undefined names | ||
# F821: undefined name 'unicode' | ||
# F841: local variable '_' is assigned but never used | ||
ignore = C901,E111,E114,E121,E125,E126,E129,E501,E722,F401,F403,F821,F841,W503,W504 | ||
|
||
exclude = .git,__pycache__ | ||
max-complexity = 10 |
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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
[pep8] | ||
indent-size=2 | ||
max-line-length=80 | ||
ignore=E309 # Don't add an empty line after a class declaration | ||
|
||
# E309: Don't add an empty line after a class declaration | ||
# E125: continuation line with same indent as next logical line | ||
# E129: visually indented line with same indent as next logical line | ||
# | ||
# NOTE(josh): E125 and E129 have false positives due to line-width=2. They | ||
# match cases for which this would only be true if line-width=4 | ||
ignore=E309,E125,E129 | ||
|
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,12 @@ | ||
dist: xenial | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.5" | ||
- "3.6" | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
|
||
script: | ||
- make lint |
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
Oops, something went wrong.