update ruff.toml by nesting linter-specific configs under [lint] (and related); though it would work (or, actually, works) the way it currently is, the proposed one could be a preferable/more future-proof option in sight of the upcoming deprecation of top-level lint settings discussed in https://github.com/astral-sh/ruff/issues/8449 or https://github.com/astral-sh/ruff/issues/7651
e98932459004b575efff18fc150a6b1b4960a802:
fixable = ["ALL"] is the default already as per https://docs.astral.sh/ruff/settings/#fixable. In my understanding, fixable should be rather used to specify those rules - among the ones to be checked - that one wants to autofix as well (provided that an autofix is available and not unsafe)
remove duplicate from ignore list
7f66f96fbab067282b00d90c4f1a23e13a7fdfee:
copy changes under cookiecutter directory
PS: I'm not sure I correctly followed the contributing guidelines. The generated testone project didn't seem to embed the changes I committed before generating it; anyway, such configuration works on my side and should be backed by Ruff's docs as well
Summary:
ruff.toml
by nesting linter-specific configs under[lint]
(and related); though it would work (or, actually, works) the way it currently is, the proposed one could be a preferable/more future-proof option in sight of the upcoming deprecation of top-level lint settings discussed in https://github.com/astral-sh/ruff/issues/8449 or https://github.com/astral-sh/ruff/issues/7651fixable = ["ALL"]
is the default already as per https://docs.astral.sh/ruff/settings/#fixable. In my understanding,fixable
should be rather used to specify those rules - among the ones to be checked - that one wants to autofix as well (provided that an autofix is available and not unsafe)ignore
listcookiecutter
directoryPS: I'm not sure I correctly followed the contributing guidelines. The generated
testone
project didn't seem to embed the changes I committed before generating it; anyway, such configuration works on my side and should be backed by Ruff's docs as well