cron better exception management. show supplier commercial name in product card template. linters config
This commit is contained in:
parent
a812b4385d
commit
87dcb4e350
17 changed files with 104 additions and 100 deletions
8
.flake8
8
.flake8
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
max-complexity = 30
|
||||
max-complexity = 16
|
||||
# B = bugbear
|
||||
# B9 = bugbear opinionated (incl line length)
|
||||
select = C,E,F,W,B,B9
|
||||
|
|
@ -13,6 +13,12 @@ select = C,E,F,W,B,B9
|
|||
# W503: line break before binary operator (black-compatible)
|
||||
# B950: line too long (soft limit, complements B)
|
||||
ignore = E203,E501,W503,B950
|
||||
# OCA standard per-file ignores:
|
||||
# - __init__.py imports submodules that are intentionally "unused" (F401)
|
||||
# - __manifest__.py is a bare dict literal, not a useless expression (B018)
|
||||
per-file-ignores =
|
||||
__init__.py: F401
|
||||
__manifest__.py: B018
|
||||
exclude =
|
||||
.git,
|
||||
__pycache__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue