]> tinc-vpn.org Git - tinc/commitdiff
Add Markdown reformat to lint.py
authorKirill Isakov <bootctl@gmail.com>
Sun, 29 May 2022 05:24:04 +0000 (11:24 +0600)
committerKirill Isakov <bootctl@gmail.com>
Sun, 29 May 2022 08:43:37 +0000 (14:43 +0600)
.github/workflows/test.yml
lint.py

index 61973dfe6f9e841a6de70f6d9c505e280df3b528..ad86e0f348860c69d4b3be856cc1f149c4ad4abe 100644 (file)
@@ -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 076b3e7174166caa179208ab8662c8a1c968c2cc..d1cb24558b1442a8ed79702e0c62fd8af3ebc4ef 100755 (executable)
--- 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