Skip to content

Commit

Permalink
Smarter default for user_ruff question
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Oct 30, 2023
1 parent 097c8f1 commit a25d24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ generate_requirements_txt:
files.

use_ruff:
default: no
default: "{% if odoo_version < 17.0 -%}no{% else %}yes{% endif %}"
type: bool
help: Use ruff and ruff-format instead of flake8, autoflake, pyupgrade, isort, black.
when: "{{ odoo_version >= 14.0 }}"
Expand Down

0 comments on commit a25d24d

Please sign in to comment.