odoo_account_ebics/.ruff.toml

31 lines
602 B
TOML
Raw Permalink Normal View History

2024-01-26 16:35:39 +00:00
target-version = "py310"
fix = true
[lint]
extend-select = [
"B",
"C90",
2024-01-28 13:24:18 +00:00
"E501", # line too long (default 88)
2024-01-26 16:35:39 +00:00
"I", # isort
"UP", # pyupgrade
]
exclude = ["setup/*"]
[format]
exclude = ["setup/*"]
[per-file-ignores]
"__init__.py" = ["F401", "I001"] # ignore unused and unsorted imports in __init__.py
"__manifest__.py" = ["B018"] # useless expression
[isort]
section-order = ["future", "standard-library", "third-party", "odoo", "odoo-addons", "first-party", "local-folder"]
[isort.sections]
"odoo" = ["odoo"]
"odoo-addons" = ["odoo.addons"]
[mccabe]
max-complexity = 16