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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
rev: v0.14.14
hooks:
# Run the linter with auto-fixes
- id: ruff
- id: ruff-check
args: [--fix]
# Run the formatter
- id: ruff-format
Expand All @@ -19,13 +19,13 @@ repos:
- id: mypy
# With pass_filenames: false, we must provide an explicit target for mypy.
# Otherwise mypy exits with: "Missing target module, package, files, or command."
args: [--config-file=pyproject.toml, src]
args: [--config-file=pyproject.toml, src, tutorials]
additional_dependencies:
- types-setuptools
- scipy-stubs
- types-requests
pass_filenames: false
files: ^src/
files: ^(src/|tutorials/)

# Regenerate docs/API_MAP.md whenever Python source files change
- repo: local
Expand Down
Loading
Loading