-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from hardcoretech/chore/bump_version
chore(missing): bump to version v0.2.5
- Loading branch information
Showing
2 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,53 @@ | ||
# Missing # | ||
The simple [pre-commit][0] hook to find the missing but necessary files. | ||
|
||
A simple [pre-commit][0] hook to find missing `__init__.py` that is required for unit test cases to be discovered. | ||
|
||
## Example ## | ||
|
||
Default setting, everything except `.git` will be scanned | ||
|
||
```yaml | ||
- repo: https://github.com/hardcoretech/missing | ||
rev: v0.2.5 | ||
hooks: | ||
- id: missing-init-py | ||
``` | ||
Exclude according to .gitignore | ||
```yaml | ||
- repo: https://github.com/hardcoretech/missing | ||
rev: v0.2.5 | ||
hooks: | ||
- id: missing-init-py | ||
args: | ||
- --mode | ||
- obey_gitignore | ||
``` | ||
Only include git staged files | ||
```yaml | ||
- repo: https://github.com/hardcoretech/missing | ||
rev: v0.2.5 | ||
hooks: | ||
- id: missing-init-py | ||
args: | ||
- --mode | ||
- staged_only | ||
``` | ||
Exclude frontend and doc folder | ||
```yaml | ||
- repo: https://github.com/hardcoretech/missing | ||
rev: v0.2.4 | ||
rev: v0.2.5 | ||
hooks: | ||
- id: missing-init-py | ||
args: | ||
- --exclude | ||
- frontend | ||
- doc | ||
``` | ||
[0]: https://pre-commit.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "missing" | ||
version = "0.2.4" | ||
version = "0.2.5" | ||
description = "" | ||
authors = ["PLM <[email protected]>"] | ||
|
||
|