-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add remaining pre-commit-hooks #430
Changes from 5 commits
25f9bca
09a3186
3179adb
50aeab8
6b8afdc
b65bef5
19b646f
c9d2057
dc4ff13
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -550,6 +550,10 @@ lint: | |
extensions: | ||
- xib | ||
|
||
- name: xml | ||
extensions: | ||
- xml | ||
|
||
- name: yaml | ||
extensions: | ||
- yaml | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,148 @@ lint: | |
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: check-added-large-files | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: check-added-large-files ${target} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. False alarm. This was previously WAI, the files are .exe on Windows and inside of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated |
||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: check-ast | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: check-ast ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- python | ||
- name: check-builtin-literals | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: check-builtin-literals ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- python | ||
- name: check-case-conflict | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: check-case-conflict ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: check-docstring-first | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: check-docstring-first ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- python | ||
- name: check-json | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: check-json ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- json | ||
- name: check-merge-conflict | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: check-merge-conflict ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: check-shebang-scripts-are-executable | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: check-shebang-scripts-are-executable ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: check-symlinks | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: check-symlinks ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: check-toml | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: check-toml ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- toml | ||
- name: check-vcs-permalinks | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: check-vcs-permalinks ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: check-xml | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: check-xml ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- xml | ||
- name: check-yaml | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: check-yaml ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- yaml | ||
- name: debug-statement-hook | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: debug-statement-hook ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- python | ||
- name: destroyed-symlinks | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: destroyed-symlinks ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: detect-private-key | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stderr | ||
run: detect-private-key ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: mixed-line-ending | ||
enabled: false | ||
output: pass_fail | ||
read_output_from: stdout | ||
run: mixed-line-ending --fix=no ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL | ||
- name: trailing-whitespace | ||
enabled: false | ||
output: rewrite | ||
in_place: true | ||
formatter: true | ||
run: mixed-line-ending --fix=no ${target} | ||
success_codes: [0, 1] | ||
files: | ||
- ALL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we end up keeping this, can we merge it back into the matrix and add a new field to the object for the correct runner name?