Skip to content

Commit

Permalink
Contributing file added -r option for linux compatibility with BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed Jan 10, 2023
1 parent 9984f83 commit 6c4e062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To check if your code works you can call `pylint -j0 **.py` in the project direc

We recommend that you set a pre-commit hook to lint your code every time you commit. This can be done by adding
```
git diff --diff-filter=d --cached --name-only | grep -E -i '.py$' | xargs pylint -j0
git diff --diff-filter=d --cached --name-only | grep -E -i '.py$' | xargs -r pylint -j0
```
to a file named `./.git/hooks/pre-commit` and making it executable `chmod +x ./.git/hooks/pre-commit`

Expand Down

0 comments on commit 6c4e062

Please sign in to comment.