From 7b033b74191ea570cc45e9c44b391cd69652fb25 Mon Sep 17 00:00:00 2001 From: eli Date: Tue, 30 Nov 2021 01:16:15 +0000 Subject: [PATCH] --- .flake8 | 4 ++++ .isort.cfg | 2 ++ .markdownlint.yaml | 4 ++++ .shellcheckrc | 3 +++ .trunk/.gitignore | 1 + .trunk/trunk.yaml | 17 +++++++++++++++++ 6 files changed, 31 insertions(+) create mode 100644 .flake8 create mode 100644 .isort.cfg create mode 100644 .markdownlint.yaml create mode 100644 .shellcheckrc create mode 100644 .trunk/.gitignore create mode 100644 .trunk/trunk.yaml diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..c1e23e7 --- /dev/null +++ b/.flake8 @@ -0,0 +1,4 @@ +# Minimal black-compatible flake8 configuration +[flake8] +max-line-length = 88 +extend-ignore = E203, E266, E305, E501, W503 diff --git a/.isort.cfg b/.isort.cfg new file mode 100644 index 0000000..b9fb3f3 --- /dev/null +++ b/.isort.cfg @@ -0,0 +1,2 @@ +[settings] +profile=black diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..1258da2 --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,4 @@ +# Prettier-friendly minimal markdownlint config (turns off rules which prettier handles) +default: true +MD013: false +MD032: false diff --git a/.shellcheckrc b/.shellcheckrc new file mode 100644 index 0000000..ce4686b --- /dev/null +++ b/.shellcheckrc @@ -0,0 +1,3 @@ +# Following source doesn't work in most setups +disable=SC1090 +disable=SC1091 diff --git a/.trunk/.gitignore b/.trunk/.gitignore new file mode 100644 index 0000000..7feb17f --- /dev/null +++ b/.trunk/.gitignore @@ -0,0 +1 @@ +*out diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml new file mode 100644 index 0000000..96bf136 --- /dev/null +++ b/.trunk/trunk.yaml @@ -0,0 +1,17 @@ +version: 0.1 +cli: + version: 0.3.0-beta +lint: + enabled: + - actionlint@1.6.4 + - black-py@21.10b0 + - buildifier@4.0.1 + - clang-format@13.0.0 + - clang-tidy@13.0.0 + - flake8@3.9.2 + - gitleaks@7.6.1 + - isort@5.9.3 + - markdownlint@0.29.0 + - prettier@2.4.1 + - shellcheck@0.7.2 + - shfmt@3.4.0