You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a git repository. Since it’s a cookiecutter template, it contains a directory called {{cookiecutter.project_name}}[sic]. I try to run Ruff on the other files in the repo like this:
$ ruff "--extend-exclude=\\{\\{cookiecutter.project_name\\}\\}/**" --force-exclude -v .[2023-04-27][17:17:32][ruff::resolver][DEBUG] Ignored path via `exclude`: "/Users/phil/Dev/cookiecutter-scverse/.git"error: TOML parse error at line 50, column 1 |50 | {% if cookiecutter.project_name.lower().replace('-', '_') != cookiecutter.package_name -%} | ^invalid key
Ruff shouldn’t try to parse that TOML file, I’m excluding it!
The text was updated successfully, but these errors were encountered:
I have a git repository. Since it’s a cookiecutter template, it contains a directory called
{{cookiecutter.project_name}}
[sic]. I try to run Ruff on the other files in the repo like this:Ruff shouldn’t try to parse that TOML file, I’m excluding it!
The text was updated successfully, but these errors were encountered: