Bump gitpython from 3.1.18 to 3.1.32 in /scripts #150
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: Linter | |
on: [push, pull_request] | |
jobs: | |
code-black: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install Black and flake8 | |
run: pip install black==22.3.0 flake8 | |
- name: Run Black | |
run: python -m black --config=pyproject.toml --check openunmix tests scripts | |
- name: Lint with flake8 | |
# Exit on important linting errors and warn about others. | |
run: | | |
python -m flake8 openunmix tests --show-source --statistics --select=F6,F7,F82,F52 | |
python -m flake8 --config .flake8 --exit-zero openunmix tests --statistics |