Remove LEC (#2126) #7
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: Lint | |
on: | |
# Runs on all pushes to branches | |
push: | |
# Runs on all PRs | |
pull_request: | |
# Manual Dispatch | |
workflow_dispatch: | |
jobs: | |
lint_python: | |
name: Lint Python Code | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Install Linters | |
run: python3 -m pip install -r ./requirements_lint.txt | |
- name: Ensure Black Formatting | |
run: black --check . | |
- name: Lint with Flake8 | |
run: flake8 . |