From 7d59f673021750bf57d61e2b7348c05c24e5c99f Mon Sep 17 00:00:00 2001 From: Takahiro Yoshimura Date: Sun, 26 Nov 2023 23:37:47 +0900 Subject: [PATCH] Adding lint action --- .github/workflows/lint.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..5d51a0b --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,25 @@ +name: push + +on: push + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Setup environment + uses: actions/setup-python@v3 + with: + python-version: 3.12 + + - name: Install dependencies + run: | + python -m pip install flit + flit install --deps=develop --only-deps + + - name: Analysing the code + run: | + mypy --non-interactive --install-types trueseeing + pflake8 trueseeing