Skip to content

Commit

Permalink
[IMP] consider unsafe fixes for UP008 as safe
Browse files Browse the repository at this point in the history
  • Loading branch information
trisdoan committed Dec 5, 2024
1 parent 58cf5d7 commit 4db2ac3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/{% if use_ruff %}.ruff.toml{% endif%}.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ extend-select = [
"{{ rule }}",
{%- endfor %}
]
{%- if odoo_version >= 11.0 %}
extend-safe-fixes = ["UP008"]
{%- endif %}
exclude = ["setup/*"]

[format]
Expand Down

0 comments on commit 4db2ac3

Please sign in to comment.