prometheus-pve-sd/setup.cfg

25 lines
862 B
INI
Raw Permalink Normal View History

2021-06-09 18:44:10 +00:00
[flake8]
# Explanation of errors
#
# D102: Missing docstring in public method
# D103: Missing docstring in public function
2021-06-09 18:56:20 +00:00
# D105: Missing docstring in magic method
2021-06-09 18:44:10 +00:00
# D107: Missing docstring in __init__
# D202: No blank lines allowed after function docstring
# G001: Logging statements should not use string.format() for their first argument
# G004: Logging statements should not use f"..." for their first argument
# W503: Line break occurred before a binary operator
ignore = D102, D103, D105, D107, D202, G001, G004, W503
2021-06-09 18:44:10 +00:00
max-line-length = 99
inline-quotes = double
exclude = .git, __pycache__, build, dist, *.pyc, *.egg-info, .cache, .eggs, env*
2021-06-09 18:44:10 +00:00
[yapf]
based_on_style = google
column_limit = 99
dedent_closing_brackets = true
coalesce_brackets = true
split_before_logical_operator = true
indent_dictionary_value = true
allow_split_before_dict_value = false