potiuk edited a comment on pull request #20066:
URL: https://github.com/apache/airflow/pull/20066#issuecomment-988632753
> I face static check issues in shell check. But the shell files I have
committed is the autogenerated one by python click. How could this issue be
handled?
You can exclude whole directory from shell check. We usually do that for
auto-generated or vendored-in code. There are various "exclude" clauses in
.pre-commit.yaml already that you can use as examples (those are regexp
expressions usually).
Example that excludes vendor directory from a particular check:
```
exclude: ^airflow/_vendor/
```
--
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]