diff options
author | 2023-03-07 03:34:29 -0300 | |
---|---|---|
committer | 2023-08-13 23:23:31 -0300 | |
commit | ffb05aef6d02c4712f525776c419814e1ad7c647 (patch) | |
tree | df1fbe9497e7e86dac35e5da392eefaa281bcbb4 /.github/workflows/build.yml | |
parent | build: fix codespell errors in more files (diff) | |
download | firejail-ffb05aef6d02c4712f525776c419814e1ad7c647.tar.gz firejail-ffb05aef6d02c4712f525776c419814e1ad7c647.tar.zst firejail-ffb05aef6d02c4712f525776c419814e1ad7c647.zip |
build: codespell: remove dependency on "clean"
It works just fine without it (at least for the files in src/).
Note that by default codespell does not warn about binary files ("The
default mask is 34"):
$ make -j "$(nproc)" >/dev/null
$ make codespell
codespell --ignore-regex "UE|creat|doas|ether|isplay|shotcut" src test
$ codespell --version
2.2.5
$ codespell --help
[...]
-q QUIET_LEVEL, --quiet-level QUIET_LEVEL
bitmask that allows suppressing messages:
- 0: print all messages.
- 1: disable warnings about wrong encoding.
- 2: disable warnings about binary files.
- 4: omit warnings about automatic fixes that were
disabled in the dictionary.
- 8: don't print anything for non-automatic fixes.
- 16: don't print the list of fixed files.
- 32: don't print configuration files.
As usual with bitmasks, these levels can be combined;
e.g. use 3 for levels 1+2, 7 for 1+2+4, 23 for
1+2+4+16, etc. The default mask is 34.
Also, note that adding many ignore patterns (such as all of the ones in
.gitignore) makes it slower than letting codespell find and skip binary
files by itself. So just add the most common ones, which do not
noticeably change how fast codespell runs either but they do reduce the
noise when running with `-q 0`.
Homepage: https://github.com/codespell-project/codespell
Added on commit d78fc96ee ("codespell github action", 2023-03-05).
Diffstat (limited to '.github/workflows/build.yml')
0 files changed, 0 insertions, 0 deletions