Update README.md #150
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: Style Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Testing Dependencies | |
run: python -m pip install interrogate black flake8 | |
- name: Interrogate | |
run: make interrogate | |
- name: Black | |
run: | | |
black --diff --target-version py38 doubtlab tests setup.py | |
black --check --target-version py38 doubtlab tests setup.py | |
- name: Flake8 | |
run: make flake |