dgahle / dgahle/PythonRepositoryTemplate

pre-commit git hook

オープン
#26 コメント 0 件 リアクション 0 件 担当者 1 名 @dgahle が担当を希望しています GitHub で見る
enhancement good first issue
主要言語
Python
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Below is example YAML code for added precommit git hooks.

```
repos:
- repo: local
hooks:
- id: black
name: running black
entry: black
language: system
types: [python]
- id: flake8
name: running flake8
entry: flake8
language: system
types: [python]
- id: isort
args: ["--profile", "black"]
name: running isort
entry: isort
language: system
types: [python]
```

Useful:
- https://medium.com/@pijpijani/smarter-commits-with-git-pre-commit-hooks-9c7bb3f699bf
- https://stackoverflow.com/questions/67795922/understanding-how-to-configure-pre-commit-with-repo-local/67796237#67796237
- https://stackoverflow.com/questions/64011304/running-pytest-as-a-pre-commit-hook-no-such-file-or-directory-issue

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。