Skip to content

Commit

Permalink
#43 pre-commit機能の追加.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneyan committed Sep 8, 2024
1 parent 6534b17 commit a9df51a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.4
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
types_or: [ python, pyi ]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ HomeNOC Dashboard
### develop environment install

```
pre-commit install # pre-commitを入れる必要あり
pipenv install --dev
```

Expand Down

0 comments on commit a9df51a

Please sign in to comment.