Skip to content

Instantly share code, notes, and snippets.

@slayer321
Last active June 1, 2021 15:16
Show Gist options
  • Save slayer321/4386f6d3dd6ed4df3e45751b037e9530 to your computer and use it in GitHub Desktop.
Save slayer321/4386f6d3dd6ed4df3e45751b037e9530 to your computer and use it in GitHub Desktop.
name: Lint
on: [push , 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
- name: Black Code Formatter
uses: lgeiger/black-action@v1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment