diff --git a/src/{% if use_ruff %}.ruff.toml{% endif%}.jinja b/src/{% if use_ruff %}.ruff.toml{% endif%}.jinja index 8a084d1..f0ee16f 100644 --- a/src/{% if use_ruff %}.ruff.toml{% endif%}.jinja +++ b/src/{% if use_ruff %}.ruff.toml{% endif%}.jinja @@ -18,6 +18,9 @@ extend-select = [ "{{ rule }}", {%- endfor %} ] +{%- if odoo_version >= 11.0 %} +extend-safe-fixes = ["UP008"] +{%- endif %} exclude = ["setup/*"] [format]