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