Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.1
rev: v0.12.2
hooks:
- id: ruff
args: [--fix]
Expand All @@ -17,7 +17,7 @@ repos:
hooks:
- id: pyproject-fmt
- repo: https://github.com/biomejs/pre-commit
rev: v2.0.6
rev: v2.1.1
hooks:
- id: biome-format
- repo: https://github.com/kynan/nbstripout
Expand Down
4 changes: 2 additions & 2 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
"overrides": [
{
"include": ["./.vscode/*.json", "**/*.jsonc"],
"includes": ["./.vscode/*.json", "**/*.jsonc"],
"json": {
"formatter": {
"trailingCommas": "all",
Expand Down
21 changes: 11 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,17 @@ scripts.build = "sphinx-build -W --keep-going -b html docs docs/_build/html {arg
[tool.ruff]
lint.select = [ "ALL" ]
lint.ignore = [
"B019", # functools.cache is fine to use
"C408", # dict(...) calls are good
"COM812", # Incompatible with formatter
"D203", # 0 instead of 1 blank lines before class docstring
"D213", # Multi-line docstring summary should start at the first instead of second line
"FIX002", # TODOs are fine
"ISC001", # Incompatible with formatter
"S603", # We don’t want to use `subprocess.run(shell=True)`
"S607", # We don’t run commands with untrusted input
"TD002", # No need to assign TODOs to some person
"B019", # functools.cache is fine to use
"C408", # dict(...) calls are good
"COM812", # Incompatible with formatter
"D203", # 0 instead of 1 blank lines before class docstring
"D213", # Multi-line docstring summary should start at the first instead of second line
"FIX002", # TODOs are fine
"ISC001", # Incompatible with formatter
"PLC0415", # Non-top-level imports are fine
"S603", # We don’t want to use `subprocess.run(shell=True)`
"S607", # We don’t run commands with untrusted input
"TD002", # No need to assign TODOs to some person
]
lint.per-file-ignores."**/*.ipynb" = [
"CPY001", # Missing copyright notice in notebook is fine
Expand Down