-
Notifications
You must be signed in to change notification settings - Fork 676
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Includes ni-python-styleguide, and clang-format 14. - Updates CODING.md to explain this - Run `pre-commit install` on this repository to activate. You need to manually install `pre-commit` and `ni-python-styleguide` to make this work. A pip-based installation would look like this: $ pip install pre-commit ni-python-styleguide $ cd /path/to/uhd # Enter the repo $ pre-commit install
- Loading branch information
1 parent
29a2dbf
commit d8709bc
Showing
2 changed files
with
61 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
repos: | ||
- repo: [email protected]:ssciwr/clang-format-hook.git | ||
rev: 'v14.0.6' | ||
hooks: | ||
- id: clang-format | ||
- repo: local | ||
hooks: | ||
- id: ni-python-styleguide-fix | ||
name: ni-python-styleguide-fix | ||
description: Run NI Python Style Checker (Fixer) | ||
language: python | ||
types_or: [python] | ||
entry: ni-python-styleguide fix | ||
- id: ni-python-styleguide-lint | ||
name: ni-python-styleguide-lint | ||
description: Run NI Python Style Checker (Linter) | ||
language: python | ||
types_or: [python] | ||
entry: ni-python-styleguide lint |
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