Skip to content

Commit b782c5a

Browse files
Add pre-commit config (#4)
* Add pre-commit config * Rename file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 36f1e8b commit b782c5a

File tree

750 files changed

+80601
-82713
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

750 files changed

+80601
-82713
lines changed

.pre-commit-config.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.6.0
4+
hooks:
5+
- id: check-toml
6+
- id: check-yaml
7+
- id: end-of-file-fixer
8+
types: [python]
9+
- id: trailing-whitespace
10+
- id: requirements-txt-fixer
11+
- id: check-added-large-files
12+
args: ["--maxkb=500"]
13+
14+
- repo: https://github.com/psf/black
15+
rev: 24.8.0
16+
hooks:
17+
- id: black-jupyter
18+
language_version: python3.11
19+
20+
- repo: https://github.com/kynan/nbstripout
21+
rev: 0.7.1
22+
hooks:
23+
- id: nbstripout

0 commit comments

Comments
 (0)