From 7632a31bd732332513c9982a1e481a8640e3db75 Mon Sep 17 00:00:00 2001 From: Ivan Filianin Date: Thu, 19 Oct 2023 20:57:24 +0400 Subject: [PATCH] Added python linter --- .github/workflows/lint.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..f8f32b4 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,16 @@ +--- +name: "GitHub Actions Demo" +on: + - push +jobs: + linter: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Python Linter + uses: sunnysid3up/python-linter@master + with: + source: "code/example-mec-app" + mypy-options: "--ignore-missing-imports --show-error-codes" + isort-options: "-w 100"