Skip to content

Commit

Permalink
Use poetry version of black for formatting check
Browse files Browse the repository at this point in the history
  • Loading branch information
kraktus committed Feb 28, 2024
1 parent daaa47a commit ad0a957
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Set up latest python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- name: Set up poetry
uses: abatilo/actions-poetry@v2
- name: Install dependencies
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
- name: Set up latest python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Set up poetry
uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: poetry install --with dev
- name: Check formatting
run: poetry run black berserk tests check-endpoints.py --check

0 comments on commit ad0a957

Please sign in to comment.