diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..db7754d --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -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 diff --git a/requirements.txt b/requirements.txt index b1d8f41..c41bc94 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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