mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Add pre commit (#103)
* add pre-commit * run pre-commit * skip lint on README.md as it breaks template filling
This commit is contained in:
@ -8,15 +8,15 @@ relevant to people working on the code itself.)
|
||||
Each file should be named like `<ISSUE>.<TYPE>.rst`, where
|
||||
`<ISSUE>` is an issue number, and `<TYPE>` is one of:
|
||||
|
||||
* `breaking`
|
||||
* `bugfix`
|
||||
* `deprecation`
|
||||
* `docs`
|
||||
* `feature`
|
||||
* `internal`
|
||||
* `misc`
|
||||
* `performance`
|
||||
* `removal`
|
||||
- `breaking`
|
||||
- `bugfix`
|
||||
- `deprecation`
|
||||
- `docs`
|
||||
- `feature`
|
||||
- `internal`
|
||||
- `misc`
|
||||
- `performance`
|
||||
- `removal`
|
||||
|
||||
So for example: `123.feature.rst`, `456.bugfix.rst`
|
||||
|
||||
|
||||
@ -31,7 +31,6 @@ if num_args == 1:
|
||||
assert sys.argv[1] in ("is-empty",)
|
||||
|
||||
for fragment_file in THIS_DIR.iterdir():
|
||||
|
||||
if fragment_file.name in ALLOWED_FILES:
|
||||
continue
|
||||
elif num_args == 0:
|
||||
|
||||
Reference in New Issue
Block a user