Skip to content

Conversation

@ericholscher
Copy link
Member

@ericholscher ericholscher commented Nov 25, 2025

@plaindocs
Copy link
Contributor

Very much of a fan of these. Do they need any local installation? Or do they 'just work'?

@ericholscher
Copy link
Member Author

Yea you need to install the pre commit package. Should probably add that to the README.

@ericholscher
Copy link
Member Author

@copilot Add this to the requirements and readme.

Copy link

Copilot AI commented Dec 5, 2025

@ericholscher I've opened a new pull request, #2491, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

@plaindocs plaindocs left a comment

Choose a reason for hiding this comment

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

Should probably merge this.

pre-commit run --all-files

Doesn't work imo, but is less important than changed files

- Exclude schema files from check-yaml hook (they use multi-document YAML format)
- Exclude schema files from yamllint hook
- Fix yamale hooks to properly handle file arguments using bash wrapper
- Change yamale hooks to use system language instead of python
- Exclude schema files from being validated against themselves

This resolves all pre-commit validation errors.
@ericholscher
Copy link
Member Author

@plaindocs Think I have it passing locally now.

@ericholscher
Copy link
Member Author

vscode ➜ /workspaces/projects/www (pre-commit) $ ~/.local/bin/pre-commit run --all-files
check yaml...............................................................Passed
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed
yamllint.................................................................Passed
Validate conference config YAML against schema...........................Passed
Validate schedule YAML against schema....................................Passed
Validate sessions YAML against schema....................................Passed

@ericholscher ericholscher merged commit 93f37c6 into main Dec 12, 2025
7 checks passed
@ericholscher ericholscher deleted the pre-commit branch December 12, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants