DEV: adds coverage configuration file and excluide exceptions from report #1477
Workflow file for this run
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: LintBlack | |
# Adapted: https://github.com/marketplace/actions/lint-action | |
on: [pull_request] | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install Python dependencies | |
run: pip install black[jupyter] | |
- name: Run linters | |
uses: wearerequired/lint-action@v1 | |
with: | |
black: true | |
auto_fix: true |