Skip to content

Authentication, Logging, & Documentation #50

Authentication, Logging, & Documentation

Authentication, Logging, & Documentation #50

Workflow file for this run

name: Lint Python Code
on: [pull_request]
jobs:
lint_flake8:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8>=3.8.0
- name: Run flake8
run: |
flake8 .
lint_black:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Run black
run: |
black --check .