Skip to content

Commit

Permalink
Merge pull request #38 from dannyl1u/chore/set-up-repository-pipeline…
Browse files Browse the repository at this point in the history
…-with-linter

Chore/set up repository pipeline with linter
  • Loading branch information
dannyl1u authored Sep 24, 2024
2 parents 8f1e619 + be55320 commit 595330f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint

on:
- push
- pull_request

jobs:
code-formatter-black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable

linter-ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ pyjwt==2.8.0
cryptography==42.0.5
chromadb~=0.5.4
requests~=2.32.3
ruff~=0.6.7
black~=24.4.2

0 comments on commit 595330f

Please sign in to comment.