Skip to content

Commit

Permalink
Add pre-commit hook (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
qqaatw committed Aug 4, 2023
1 parent c7acef0 commit 8cb6a5c
Show file tree
Hide file tree
Showing 25 changed files with 2,098 additions and 1,484 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__
.pytest_cache
.coverage
coverage.xml
private_example.py

/dist
*.egg-info
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
2 changes: 1 addition & 1 deletion JciHitachi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__author__ = "Allan Lin"
__version__ = "1.3.0"
__version__ = "1.3.0"
Loading

0 comments on commit 8cb6a5c

Please sign in to comment.