gemini-code-assist[bot] commented on code in PR #38474:
URL: https://github.com/apache/beam/pull/38474#discussion_r3228627834
##########
.pre-commit-config.yaml:
##########
@@ -38,4 +38,4 @@ repos:
hooks:
- id: ruff-check
files: ^sdks/python/apache_beam/
- args: ["--config=sdks/python/ruff.toml"]
+ args: ["--config=sdks/python/pyproject.toml"]
Review Comment:

Overriding `args` for the `ruff-check` hook removes the default
`--force-exclude` flag. Including it explicitly ensures that Ruff respects the
`exclude` patterns defined in the configuration file when running via
pre-commit. If other Ruff hooks like `ruff-format` are used, they also require
this path update.
```yaml
args: ["--config=sdks/python/pyproject.toml", "--force-exclude"]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]