mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-24 23:48:13 +01:00
25 lines
681 B
TOML
25 lines
681 B
TOML
###############################################################################
|
|
# flake8 / flakeheaven
|
|
###############################################################################
|
|
[tool.flakeheaven]
|
|
max_complexity = 10
|
|
format = "grouped"
|
|
baseline = "baseline.txt"
|
|
|
|
# Base rules
|
|
#############################
|
|
[tool.flakeheaven.plugins]
|
|
"*" = [
|
|
"+*",
|
|
"-E501", # long lines
|
|
"-E203", # conflict with black on PEP8 interpretation
|
|
"-W503", # deprecated rule: https://www.flake8rules.com/rules/W503.html
|
|
]
|
|
flake8-builtins = [
|
|
"+*",
|
|
"-A003", # class attribute is shadowing a python builtin
|
|
]
|
|
flake8-bandit = [
|
|
"+*",
|
|
"-S101", # Use of assert detected.
|
|
]
|