-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5a7f1c
commit 998dbb2
Showing
11 changed files
with
38 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,9 @@ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: isort | ||
name: "[Package] Import formatting" | ||
- id: ruff | ||
name: "[Package] Formatting" | ||
language: system | ||
entry: isort | ||
entry: make | ||
args: [ lint ] | ||
files: \.py$ | ||
|
||
- id: black | ||
name: "[Package] Code formatting" | ||
language: system | ||
entry: black | ||
files: \.py$ | ||
|
||
- id: flake8 | ||
name: "[Package] Linting" | ||
language: system | ||
entry: flake8 | ||
files: \.py$ | ||
|
||
- id: isort-examples | ||
name: "[Examples] Import formatting" | ||
language: system | ||
entry: nbqa isort | ||
files: examples/.+\.ipynb$ | ||
|
||
- id: black-examples | ||
name: "[Examples] Code formatting" | ||
language: system | ||
entry: nbqa black | ||
files: examples/.+\.ipynb$ | ||
|
||
- id: flake8-examples | ||
name: "[Examples] Linting" | ||
language: system | ||
entry: nbqa flake8 --ignore=E402 | ||
files: examples/.+\.ipynb$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters