diff --git a/.flake8 b/.flake8 index bc1082b2e..2356f58eb 100644 --- a/.flake8 +++ b/.flake8 @@ -11,13 +11,16 @@ ignore = # D103: Missing docstring in public function D103, # D104: Missing docstring in public package - D104 + D104, # D107: Missing docstring in __init__ D107, # W503: line break before binary operator => Conflicts with black style. W503, # N818: exception name should be named with an Error suffix N818, + # B028: Consider replacing f"'{foo}'" with f"{foo!r}". + # Currently being disabled by flake8-bugbear. See https://github.com/PyCQA/flake8-bugbear/pull/333 + B028 exclude = .tox, .git, @@ -34,4 +37,4 @@ max-complexity = 10 max-line-length = 120 import-order-style = google application-import-names = flake8 -format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s +format = %(cyan)s%(path)s%(reset)s:%(bold)s%(yellow)s%(row)d%(reset)s:%(bold)s%(green)s%(col)d%(reset)s: %(bold)s%(red)s%(code)s%(reset)s %(text)s