Skip to content

Conversation

@jtroup
Copy link
Contributor

@jtroup jtroup commented Sep 10, 2025

ENG-5648

what

Use pre-commit to keep a requirements.txt file up-to-date.

Drive by updates of pre-commit repo versions and also loosen ruff pinning in pyproject.toml to better match what pre-commit is using.

why

The uv export to requirements.txt is a hack so that dependabot's pip ecosystem will continue to find vulnerabilities in our dependencies as the uv ecosystem doesn't work well enough yet.

testing

Proposing & then landing this PR

docs

N/A

@jtroup jtroup requested a review from a team as a code owner September 10, 2025 22:54
- id: end-of-file-fixer
exclude: ^tests/.*/fixtures/.*
- id: debug-statements

Copy link

Choose a reason for hiding this comment

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

Bug: Test Fixtures Modified by Hooks

The exclude: ^tests/.*/fixtures/.* patterns were removed from the trailing-whitespace and end-of-file-fixer hooks. These hooks will now modify test fixture files, which often rely on specific formatting (e.g., trailing whitespace, missing newlines) for test scenarios. This could break tests that depend on their exact content.

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are no test fixtures in this repo

@jtroup jtroup merged commit fb31796 into main Sep 11, 2025
10 checks passed
@jtroup jtroup deleted the james/unbreak-dependabot branch September 11, 2025 22:25
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