new generate_subs_based_on_punc function (#218) #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check code quality" | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: "Lint" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install all dependencies | |
run: pip install .[dev] | |
- name: Run mypy | |
run: mypy --pretty src examples | |
- name: Run pylint | |
run: pylint examples src | |
- name: Run isort | |
run: isort --check-only --diff . | |
- name: Run black | |
run: black --check --diff . |