Skip to content

Commit

Permalink
CI/CD linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrt-rdzk committed Jul 4, 2024
1 parent 6f73bd0 commit 1a06deb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/code_lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint Code

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m venv venv
. venv/bin/activate
pip install black
- name: Run black
run: |
. venv/bin/activate
black .

0 comments on commit 1a06deb

Please sign in to comment.