forked from fsfe/reuse-tool
-
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.
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
- Loading branch information
1 parent
4f420af
commit 15861d2
Showing
3 changed files
with
19 additions
and
2 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 |
---|---|---|
|
@@ -247,7 +247,7 @@ Git. This uses [pre-commit](https://pre-commit.com/). Once you | |
```yaml | ||
repos: | ||
- repo: https://github.com/fsfe/reuse-tool | ||
rev: v3.0.2 | ||
rev: v4.0.3 | ||
hooks: | ||
- id: reuse | ||
``` | ||
|
@@ -256,6 +256,17 @@ Then run `pre-commit install`. Now, every time you commit, `reuse lint` is run | |
in the background, and will prevent your commit from going through if there was | ||
an error. | ||
|
||
If you instead want to only lint files that were changed in your commit, you can | ||
use the following configuration: | ||
|
||
```yaml | ||
repos: | ||
- repo: https://github.com/fsfe/reuse-tool | ||
rev: v4.0.3 | ||
hooks: | ||
- id: reuse-lint-file | ||
``` | ||
|
||
## Maintainers | ||
|
||
- Carmen Bianca Bakker <[email protected]> | ||
|
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
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