-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨Meet the clusters-keeper service (⚠️ devops) (#4591)
- Loading branch information
Showing
61 changed files
with
3,399 additions
and
51 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
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,73 +1,73 @@ | ||
|
||
select = [ | ||
"A", # [https://pypi.org/project/flake8-builtins/] | ||
"ARG", # [https://pypi.org/project/flake8-unused-arguments/] | ||
"ASYNC", # [https://pypi.org/project/flake8-async/] | ||
"B", # [https://pypi.org/project/flake8-bugbear/] | ||
"C4", # [https://pypi.org/project/flake8-comprehensions/] | ||
"C90", # [https://pypi.org/project/mccabe/] (complexity) | ||
"DTZ", # [https://pypi.org/project/flake8-datetimez/] | ||
"E", # [https://pypi.org/project/pycodestyle/] errors | ||
"EM", # [https://pypi.org/project/flake8-errmsg/] | ||
"ERA", # [https://pypi.org/project/eradicate/] | ||
"F", # [https://pypi.org/project/pyflakes/] | ||
"FBT", # [https://pypi.org/project/flake8-boolean-trap/] | ||
"FIX", # [https://github.com/tommilligan/flake8-fixme] | ||
"G", # [https://pypi.org/project/flake8-logging-format/0.9.0/] | ||
"I", # [https://pypi.org/project/isort/] | ||
"ICN", # [https://github.com/joaopalmeiro/flake8-import-conventions] | ||
"ISC", # [https://pypi.org/project/flake8-implicit-str-concat/] | ||
"N", # [https://pypi.org/project/pep8-naming/] | ||
"NPY", # NumPy-speficic rules | ||
"PERF", # [https://pypi.org/project/perflint/] | ||
"PIE", # [https://pypi.org/project/flake8-pie/] | ||
"PL", # [https://pypi.org/project/pylint/] | ||
"PT", # [https://pypi.org/project/flake8-pytest-style/] | ||
"PTH", # [https://pypi.org/project/flake8-use-pathlib/] | ||
"PYI", # [https://pypi.org/project/flake8-pyi/] | ||
"RET", # [https://pypi.org/project/flake8-return/] | ||
"RSE", # [https://pypi.org/project/flake8-raise/] | ||
"RUF", # RUFF-specific rules | ||
"S", # [https://pypi.org/project/flake8-bandit/] (Automated security testing) | ||
"SIM", # [https://pypi.org/project/flake8-simplify/] | ||
"SLF", # [https://pypi.org/project/flake8-self/] | ||
"SLOT", # [https://pypi.org/project/flake8-slots/] | ||
"T10", # https://pypi.org/project/flake8-debugger/ | ||
"T20", # [https://pypi.org/project/flake8-print/] | ||
"TID", # [https://pypi.org/project/flake8-tidy-imports/] | ||
"TRY", # [https://pypi.org/project/tryceratops/1.1.0/] (exception anti-patterns) | ||
"UP", # [https://pypi.org/project/pyupgrade/] | ||
"W", # [https://pypi.org/project/pycodestyle/] warnings | ||
"YTT", # [https://pypi.org/project/flake8-2020/] | ||
"A", # [https://pypi.org/project/flake8-builtins/] | ||
"ARG", # [https://pypi.org/project/flake8-unused-arguments/] | ||
"ASYNC", # [https://pypi.org/project/flake8-async/] | ||
"B", # [https://pypi.org/project/flake8-bugbear/] | ||
"C4", # [https://pypi.org/project/flake8-comprehensions/] | ||
"C90", # [https://pypi.org/project/mccabe/] (complexity) | ||
"DTZ", # [https://pypi.org/project/flake8-datetimez/] | ||
"E", # [https://pypi.org/project/pycodestyle/] errors | ||
"EM", # [https://pypi.org/project/flake8-errmsg/] | ||
"ERA", # [https://pypi.org/project/eradicate/] | ||
"F", # [https://pypi.org/project/pyflakes/] | ||
"FBT", # [https://pypi.org/project/flake8-boolean-trap/] | ||
"FIX", # [https://github.com/tommilligan/flake8-fixme] | ||
"G", # [https://pypi.org/project/flake8-logging-format/0.9.0/] | ||
"I", # [https://pypi.org/project/isort/] | ||
"ICN", # [https://github.com/joaopalmeiro/flake8-import-conventions] | ||
"ISC", # [https://pypi.org/project/flake8-implicit-str-concat/] | ||
"N", # [https://pypi.org/project/pep8-naming/] | ||
"NPY", # NumPy-speficic rules | ||
"PERF", # [https://pypi.org/project/perflint/] | ||
"PIE", # [https://pypi.org/project/flake8-pie/] | ||
"PL", # [https://pypi.org/project/pylint/] | ||
"PT", # [https://pypi.org/project/flake8-pytest-style/] | ||
"PTH", # [https://pypi.org/project/flake8-use-pathlib/] | ||
"PYI", # [https://pypi.org/project/flake8-pyi/] | ||
"RET", # [https://pypi.org/project/flake8-return/] | ||
"RSE", # [https://pypi.org/project/flake8-raise/] | ||
"RUF", # RUFF-specific rules | ||
"S", # [https://pypi.org/project/flake8-bandit/] (Automated security testing) | ||
"SIM", # [https://pypi.org/project/flake8-simplify/] | ||
"SLF", # [https://pypi.org/project/flake8-self/] | ||
"SLOT", # [https://pypi.org/project/flake8-slots/] | ||
"T10", # https://pypi.org/project/flake8-debugger/ | ||
"T20", # [https://pypi.org/project/flake8-print/] | ||
"TID", # [https://pypi.org/project/flake8-tidy-imports/] | ||
"TRY", # [https://pypi.org/project/tryceratops/1.1.0/] (exception anti-patterns) | ||
"UP", # [https://pypi.org/project/pyupgrade/] | ||
"W", # [https://pypi.org/project/pycodestyle/] warnings | ||
"YTT", # [https://pypi.org/project/flake8-2020/] | ||
] | ||
ignore = [ | ||
"E501", # line too long, handled by black | ||
"S101", # use of `assert` detected hanbled by pylance, does not support noseq | ||
"TID252", # [*] Relative imports from parent modules are banned | ||
"TRY300", # Checks for return statements in try blocks. SEE https://beta.ruff.rs/docs/rules/try-consider-else/ | ||
"E501", # line too long, handled by black | ||
"S101", # use of `assert` detected hanbled by pylance, does not support noseq | ||
"TID252", # [*] Relative imports from parent modules are banned | ||
"TRY300", # Checks for return statements in try blocks. SEE https://beta.ruff.rs/docs/rules/try-consider-else/ | ||
] | ||
|
||
target-version = "py310" | ||
|
||
|
||
[per-file-ignores] | ||
"**/tests/**" = [ | ||
"T201", # print found | ||
"ARG001", # unused function argument | ||
"PT019", # user pytest.mark.usefixture | ||
"T201", # print found | ||
"ARG001", # unused function argument | ||
"PT019", # user pytest.mark.usefixture | ||
"PLR2004", # use of magic values | ||
"PLR0913", # too many arguments | ||
"N806", # Uppercase variables in functions | ||
"PT001", # use pytest.fixture over pytest.fixture() whatsoever | ||
"ERA001", # found commented out code | ||
"FBT001", # Boolean positional arg in function definition | ||
"N806", # Uppercase variables in functions | ||
"PT001", # use pytest.fixture over pytest.fixture() whatsoever | ||
"PT004", # does not return anythin, add leading underscore | ||
"ERA001", # found commented out code | ||
"FBT001", # Boolean positional arg in function definition | ||
] | ||
|
||
[flake8-pytest-style] | ||
fixture-parentheses = false | ||
parametrize-names-type = "csv" | ||
|
||
|
||
|
||
[pylint] | ||
max-args = 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
Oops, something went wrong.