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
|
2022-08-21 22:08:36 +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-06-09 18:44:10 +00:00
|
|
|
max-line-length = 99
|
|
|
|
inline-quotes = double
|
2022-03-06 12:48:40 +00:00
|
|
|
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
|
2022-04-04 19:39:06 +00:00
|
|
|
indent_dictionary_value = true
|
|
|
|
allow_split_before_dict_value = false
|