Skip to content

Commit a85164c

Browse files
authoredDec 2, 2024··
Replace mypy and black with ruff (#262)
·
5.2.15.1.1
1 parent c5b5c81 commit a85164c

File tree

164 files changed

+915
-1228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+915
-1228
lines changed
 

‎.github/workflows/test-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
- name: Check docs build
3030
run: hatch run docs:build
3131
- name: Check docs examples
32-
run: hatch run docs:check_examples
32+
run: hatch fmt docs --check

‎.github/workflows/test-python.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,18 @@ jobs:
3131
run: hatch test --python ${{ matrix.python-version }} --ds=test_app.settings_single_db -v
3232
- name: Run Multi-DB Tests
3333
run: hatch test --python ${{ matrix.python-version }} --ds=test_app.settings_multi_db -v
34+
35+
python-formatting:
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: oven-sh/setup-bun@v2
40+
with:
41+
bun-version: latest
42+
- uses: actions/setup-python@v5
43+
with:
44+
python-version: 3.x
45+
- name: Install Python Dependencies
46+
run: pip install --upgrade pip hatch uv
47+
- name: Check Python formatting
48+
run: hatch fmt src tests --check

0 commit comments

Comments
 (0)
Please sign in to comment.