summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml36
1 files changed, 0 insertions, 36 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
deleted file mode 100644
index 4f04e7b..0000000
--- a/.github/workflows/lint.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: Lint
-
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
-
-env:
- PY_COLORS: 1
-
-jobs:
- commitlint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - uses: wagoid/commitlint-github-action@v4
-
- linters:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- - run: pip install --upgrade tox
- - name: Run black code formatter (https://black.readthedocs.io/en/stable/)
- run: tox -e black -- --check
- - name: Run flake8 (https://flake8.pycqa.org/en/latest/)
- run: tox -e pep8
- - name: Run mypy static typing checker (http://mypy-lang.org/)
- run: tox -e mypy
- - name: Run isort import order checker (https://pycqa.github.io/isort/)
- run: tox -e isort -- --check