Skip to content

Commit

Permalink
Merge pull request #551 from aiven/jjaakola-aiven-remove-untracked-fr…
Browse files Browse the repository at this point in the history
…om-copyright-header-check

chore: remove untracked files from copyright header check
  • Loading branch information
aiven-anton authored Feb 22, 2023
2 parents 5f64f7b + f4edadf commit 3057a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
pass_filenames: false
# Lists the Python files that do not have an Aiven copyright. Exits with a
# non-zero exit code if any are found.
entry: bash -c "! git grep --untracked -ELm1 'Copyright \(c\) 20[0-9]{2} Aiven' -- '*.py' ':!*__init__.py'"
entry: bash -c "! git grep -ELm1 'Copyright \(c\) 20[0-9]{2} Aiven' -- '*.py' ':!*__init__.py'"

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2
Expand Down

0 comments on commit 3057a80

Please sign in to comment.