Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions template/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ docs/docs/assets/
# Node
node_modules

# Tox
.tox

# Misc
.benchmarks
.cache
Expand Down
5 changes: 4 additions & 1 deletion template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ exclude = [
indent-width = 4
line-length = 99 # See also `max-line-length` in [tool.ruff.lint.pycodestyle]
preview = true # Enable new rules that are not yet stable, like DOC

builtins = ['display'] # Clutch-fix/patch to https://github.com/nbQA-dev/nbQA/issues/882
# Formatting options for Ruff

[tool.ruff.format]
Expand Down Expand Up @@ -290,6 +290,9 @@ ignore = [
'INP001', # https://docs.astral.sh/ruff/rules/implicit-namespace-package/
'T201', # https://docs.astral.sh/ruff/rules/print/
]
'docs/docs/tutorials/**' = [
'E402', # https://docs.astral.sh/ruff/rules/module-import-not-at-top-of-file/
]

# Specific options for certain rules

Expand Down
Loading