-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Paul Horton <[email protected]> Co-authored-by: Maxwell G <[email protected]>
- Loading branch information
Showing
18 changed files
with
505 additions
and
427 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,37 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
insert_final_newline = true | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.{yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.toml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
charset = latin1 | ||
indent_style = space | ||
indent_size = 2 | ||
# 2 trailing spaces indicate line breaks. | ||
trim_trailing_whitespace = false | ||
|
||
[*.{rst,txt}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[{*.ini,.bandit,.flake8}] | ||
charset = latin1 | ||
indent_style = space | ||
indent_size = 4 |
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,27 @@ | ||
[flake8] | ||
## https://flake8.pycqa.org/en/latest/user/configuration.html | ||
## keep in sync with isort config - in `isort.cfg` file | ||
|
||
exclude = | ||
build,dist,__pycache__,.eggs,*.egg-info*, | ||
*_cache,*.cache, | ||
.git,.tox,.venv,venv,.venv*,venv*, | ||
_OLD,_TEST, | ||
docs | ||
|
||
max-line-length = 120 | ||
|
||
max-complexity = 10 | ||
|
||
ignore = | ||
# ignore `self`, `cls` markers of flake8-annotations>=2.0 | ||
ANN101,ANN102 | ||
# ignore ANN401 for dynamically typed *args and **kwargs | ||
ANN401 | ||
# See https://www.flake8rules.com/rules/W503.html | ||
# > Despite being in the best practice section, this will soon be considered an anti-pattern. | ||
# So lets ignore this "suggestion" that is actually an anti-pattern already! | ||
W503 | ||
# Until we've refactored code, we need to ignore "is too complex" | ||
# See https://github.com/madpah/requirements-parser/issues/96 | ||
C901 |
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,20 @@ | ||
[settings] | ||
## read the docs: https://pycqa.github.io/isort/docs/configuration/options.html | ||
## keep in sync with flake8 config - in `.flake8` file | ||
known_first_party = requirements | ||
skip_gitignore = false | ||
skip_glob = | ||
build/*,dist/*,__pycache__,.eggs,*.egg-info*, | ||
*_cache,*.cache, | ||
.git/*,.tox/*,.venv/*,venv/*,.venv*/*,venv*/*, | ||
_OLD/*,_TEST/*, | ||
docs/* | ||
combine_as_imports = true | ||
default_section = THIRDPARTY | ||
ensure_newline_before_comments = true | ||
include_trailing_comma = true | ||
line_length = 120 | ||
multi_line_output = 3 | ||
src_paths = | ||
requirements | ||
tests |
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 @@ | ||
* @madpah |
Oops, something went wrong.