Last active
June 1, 2021 15:16
-
-
Save slayer321/4386f6d3dd6ed4df3e45751b037e9530 to your computer and use it in GitHub Desktop.
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: [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