Skip to content

Conversation

@tdeo
Copy link
Member

@tdeo tdeo commented Dec 10, 2024

@tdeo tdeo requested review from a team, dumitraand and matthieu-gendreau and removed request for a team December 10, 2024 12:24
Copy link

@matthieu-gendreau matthieu-gendreau left a comment

Choose a reason for hiding this comment

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

Thanks it will definitively improve the DX when updating the documentation!

❓there are no tests within this repository?

- id: check-hooks-apply
- id: check-useless-excludes

- repo: https://github.com/shellcheck-py/shellcheck-py

Choose a reason for hiding this comment

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

😕 Is this related to this ltex?

"$ltex_version" 2>&1 |
sed -E 's|(app/javascript/documentation/.*?\.md):|\1x:|g' || true)

echo "$output" | grep "SEVERE: java.io.IOException: Stream closed" >/dev/null || echo "$output"

Choose a reason for hiding this comment

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

💭 it could make it harder to debug if a future issue would trigger a java IOException that would be stripped from the output?

@tdeo
Copy link
Member Author

tdeo commented Dec 10, 2024

Thanks it will definitively improve the DX when updating the documentation!

❓there are no tests within this repository?

I don't know how I'd test pre-commit hooks with python in the first place. The dev workflow is pretty interactive locally by using pre-commit try-repo but honestly I don't think it's worth the effort of setting up something for real

@tdeo tdeo merged commit a535c10 into main Dec 10, 2024
1 check passed
@tdeo tdeo deleted the zde/silence_ltex_errors branch December 10, 2024 14:21
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.

2 participants