We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure out a way to test the pre-commit hooks in the actions.
Currently, the content of the hooks are tested with pytest, but I have to test my hook changes locally by updating the .pre-commit-config.yaml file:
- repo: local hooks: - id: add-license-headers name: "Add License Headers" entry: add-license-headers language: python files: '(src|examples|tests)/.*\.(py)|\.(proto)' require_serial: true args: - --start_year=2023 exclude: | (?x)^( tests/test_add_license_headers_files/bad_chars.py | tests/test_add_license_headers_files/index_error.scss )$
Next steps
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Figure out a way to test the pre-commit hooks in the actions.
Currently, the content of the hooks are tested with pytest, but I have to test my hook changes locally by updating the .pre-commit-config.yaml file:
Next steps
The text was updated successfully, but these errors were encountered: