Use GH Actions for linters (#4528)

This commit is contained in:
Sebastian Rittau
2020-09-11 21:05:53 +02:00
committed by GitHub
parent 04f7d7a2fd
commit bfec448860
3 changed files with 74 additions and 38 deletions

View File

@@ -24,14 +24,3 @@ jobs:
script: ./tests/mypy_test.py --platform=darwin
- name: "mypy self test"
script: ./tests/mypy_selftest.py
- name: "check file consistency"
script: ./tests/check_consistent.py
- name: "flake8"
install: pip install $(grep flake8 requirements-tests-py3.txt)
script: flake8
- name: "black"
install: pip install $(grep black requirements-tests-py3.txt)
script: black --check --diff stdlib third_party
- name: "isort"
install: pip install $(grep isort requirements-tests-py3.txt)
script: isort --check-only --diff stdlib third_party