2021-01-03 13:49:48 +00:00
|
|
|
[flake8]
|
|
|
|
# Explanation of errors
|
|
|
|
#
|
|
|
|
# D102: Missing docstring in public method
|
|
|
|
# D103: Missing docstring in public function
|
2021-06-09 18:59:01 +00:00
|
|
|
# D105: Missing docstring in magic method
|
2021-01-03 13:49:48 +00:00
|
|
|
# D107: Missing docstring in __init__
|
|
|
|
# D202: No blank lines allowed after function docstring
|
2022-08-21 21:40:21 +00:00
|
|
|
# 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-01-03 13:49:48 +00:00
|
|
|
max-line-length = 99
|
|
|
|
inline-quotes = double
|
|
|
|
exclude = .git, __pycache__, build, dist, test, *.pyc, *.egg-info, .cache, .eggs, env*
|
2020-05-03 21:42:52 +00:00
|
|
|
|
|
|
|
[yapf]
|
|
|
|
based_on_style = google
|
|
|
|
column_limit = 99
|
|
|
|
dedent_closing_brackets = true
|
|
|
|
coalesce_brackets = true
|
|
|
|
split_before_logical_operator = true
|
2022-04-04 20:26:38 +00:00
|
|
|
indent_dictionary_value = true
|
|
|
|
allow_split_before_dict_value = false
|