Skip to content

Commit

Permalink
Run Ruff Notebooks (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz authored Jun 23, 2024
1 parent 897cf3d commit 6a5934c
Show file tree
Hide file tree
Showing 10 changed files with 2,316 additions and 2,210 deletions.
11 changes: 4 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,19 @@ repos:
rev: v0.4.9
hooks:
- id: ruff
types_or: [ python, pyi, jupyter ]
args: ["--fix", "--output-format=full"]
exclude: ^docs/source/notebooks/clv/dev/
- id: ruff-format
types_or: [ python, pyi, jupyter ]
exclude: ^docs/source/notebooks/clv/dev/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
hooks:
- id: mypy
args: [--ignore-missing-imports]
files: ^pymc_marketing/
additional_dependencies: [numpy>=1.20, pandas-stubs]
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.5
hooks:
- id: nbqa-ruff
args: ["--fix", "--output-format=full"]
files: ^docs/source/notebooks/
exclude: ^docs/source/notebooks/clv/dev/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand Down
Loading

0 comments on commit 6a5934c

Please sign in to comment.