Skip to content

Commit

Permalink
Merge pull request #3 from ethanknights/feat/add-GA-CI
Browse files Browse the repository at this point in the history
add blacken/ lint GA
  • Loading branch information
ethanknights committed Jan 15, 2024
2 parents 46ee96a + dd90a34 commit 4014dab
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/black_and_lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Lint and Black Check

on:
pull_request:
branches:
- main

jobs:
lint:
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.9

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 black
- name: Run Flake8
run: flake8

- name: Run Black Dry Run
run: black --check .

0 comments on commit 4014dab

Please # to comment.