]> git.ipfire.org Git - thirdparty/mkosi.git/commit
ci: add a check for tabs 783/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 3 Sep 2021 11:41:33 +0000 (13:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Sep 2021 10:46:01 +0000 (12:46 +0200)
commit727349cc01cf9893c5e4bb68f2f3c79668509b73
treec494e4e31c64aa8966fc1b6cf99f1fac9c9fb859
parent46a5123d23d37d4f1c94f0d175b16f01e5e9a844
ci: add a check for tabs

Surprisingly, none of the standard tools complain about tabs in the
code, at least in some locations. I expected that python3 would always
complain, or at least tabnanny, or pyflakes… Let's roll a simple custom
check.

Use '-P' to request perl-compatible regular expressions even the user
has a different default configures so that '\t' works as expected.
.github/workflows/ci-unit-test.yml