Skip to content

Commit

Permalink
Updated and ran pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
hornauerp committed Oct 10, 2024
1 parent 5f2e584 commit c7c2f5b
Show file tree
Hide file tree
Showing 8 changed files with 1,332 additions and 760 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ dmypy.json

# Neuron
*.c
*.o
*.o
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .pre-commit-config.yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0 # this is optional, use `pre-commit autoupdate` to get the latest rev!
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black

- repo: https://github.com/adamchainz/blacken-docs
rev: v1.12.1 # replace with latest tag on GitHub
hooks:
- id: blacken-docs
additional_dependencies:
- black==24.10.0
Loading

0 comments on commit c7c2f5b

Please sign in to comment.