mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
lint: exclude tags file from codespell
If we build tags for our repo: [criu]$ make tags GEN tags And then run codespell, we get an error: [criu]$ codespell ./tags:3755: struc ==> struct Let's exclude tags file from codespell search, this would add usability to `make lint`. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
parent
50e42c9ddc
commit
fd7e97fcfd
2
Makefile
2
Makefile
@ -427,7 +427,7 @@ lint:
|
|||||||
shellcheck -x test/others/libcriu/*.sh
|
shellcheck -x test/others/libcriu/*.sh
|
||||||
shellcheck -x test/others/crit/*.sh test/others/criu-coredump/*.sh
|
shellcheck -x test/others/crit/*.sh test/others/criu-coredump/*.sh
|
||||||
shellcheck -x test/others/config-file/*.sh
|
shellcheck -x test/others/config-file/*.sh
|
||||||
codespell
|
codespell -S tags
|
||||||
# Do not append \n to pr_perror or fail
|
# Do not append \n to pr_perror or fail
|
||||||
! git --no-pager grep -E '^\s*\<(pr_perror|fail)\>.*\\n"'
|
! git --no-pager grep -E '^\s*\<(pr_perror|fail)\>.*\\n"'
|
||||||
# Do not use %m with pr_perror or fail
|
# Do not use %m with pr_perror or fail
|
||||||
|
Loading…
x
Reference in New Issue
Block a user