diff --git a/.github/workflows/black.yml b/.github/workflows/linter.yml similarity index 75% rename from .github/workflows/black.yml rename to .github/workflows/linter.yml index b511cdc..3fdc9d8 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/linter.yml @@ -14,7 +14,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install black - - name: Lint with black + pip install -r dev-requirements.txt + - name: Lint with ruff run: | - black . \ No newline at end of file + make lint + make format diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 330a75f..82028b2 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,6 +1,8 @@ name: Pytest -permissions: write-all +permissions: + contents: write + pull-requests: write on: [push, pull_request]