Skip to content
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

Merged
merged 9 commits into from
Jan 25, 2024
Merged

Add remaining pre-commit-hooks #430

merged 9 commits into from
Jan 25, 2024

Conversation

pat-trunk-io
Copy link
Contributor

No description provided.

@pat-trunk-io pat-trunk-io marked this pull request as ready for review January 22, 2024 16:31
@pat-trunk-io pat-trunk-io changed the title WIP add pre-commit-hooks Add remaining pre-commit-hooks Jan 22, 2024
@pat-trunk-io pat-trunk-io requested a review from det January 22, 2024 16:31
@det
Copy link
Contributor

det commented Jan 22, 2024

Looks like you need to define the xml file type.

enabled: false
output: pass_fail
read_output_from: stdout
run: check-added-large-files ${target}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add python3 to the front of these if appropriate? Shebangs don't work for these executions on Windows.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Collaborator

Choose a reason for hiding this comment

The 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 Scripts/, so no need for the python3 bit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Comment on lines 118 to 123
linter_tests_linux:
name: Linter Tests Linux
runs-on: public-amd64-2xlarge
needs: detect_changes
if:
needs.detect_changes.outputs.linters == 'true' || needs.detect_changes.outputs.all-linters ==
Copy link
Collaborator

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?

Copy link
Collaborator

@TylerJang27 TylerJang27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pat-trunk-io pat-trunk-io enabled auto-merge (squash) January 25, 2024 21:48
@pat-trunk-io pat-trunk-io merged commit f53d11c into main Jan 25, 2024
14 checks passed
@pat-trunk-io pat-trunk-io deleted the pat/precommithooks branch January 25, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants