From: Kirill Isakov Date: Sun, 29 May 2022 05:24:04 +0000 (+0600) Subject: Add Markdown reformat to lint.py X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=1695d8828ed6fb997dbd96e21c105ab5641b90c5;p=tinc Add Markdown reformat to lint.py --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61973dfe..ad86e0f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -100,7 +100,7 @@ jobs: chmod 755 ~/shfmt ~/shellcheck python3 -m venv /tmp/venv . /tmp/venv/bin/activate - pip3 install black pylint mypy + pip3 install black pylint mypy markflow env: CLANG: 11 SHELLCHECK: 0.8.0 diff --git a/lint.py b/lint.py index 076b3e71..d1cb2455 100755 --- a/lint.py +++ b/lint.py @@ -39,6 +39,7 @@ linters = ( ["pylint", "."], ["mypy", "--exclude", "build", "."], ["shellcheck", "-x", *glob(".ci/**/*.sh", recursive=True)], + ["markflow", "--line-length", "80", "--check" if DRY else "--verbose", ".", ".ci"], ) failed: bool = False