We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nbqa-ruff
1 parent 51beb74 commit 723a308Copy full SHA for 723a308
.pre-commit-config.yaml
@@ -28,7 +28,7 @@ repos:
28
- id: disallow-caps
29
name: Disallow improper capitalization
30
language: pygrep
31
- entry: PyBind|Numpy|Cmake|CCache|Github|PyTest|PyBaMM
+ entry: Numpy|Scipy|Cmake|Github|Pybamm
32
exclude: .pre-commit-config.yaml
33
34
# Python files
@@ -53,3 +53,11 @@ repos:
53
- id: rst-backticks
54
- id: rst-directive-colons
55
- id: rst-inline-touching-normal
56
+
57
+ # Jupyter notebooks
58
59
+ - repo: https://github.com/nbQA-dev/nbQA
60
+ rev: "1.7.0"
61
+ hooks:
62
+ - id: nbqa-ruff
63
+ additional_dependencies: [ruff==0.0.281]
0 commit comments