Skip to content

Commit d15eab3

Browse files
committed
chore: move to using ruff instead of black and pylint
1 parent e57c449 commit d15eab3

Some content is hidden

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

66 files changed

+379
-1147
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,18 @@ jobs:
3333
python-version: ${{ matrix.python-version }}
3434
cache-dependency-glob: uv.lock
3535

36-
- name: Check formatting with black
37-
run: |
38-
uv run black --check .
39-
if: ${{ matrix.action == 'format' }}
40-
4136
- name: Typecheck with mypy
4237
run: |
43-
uv run mypy qnexus/
44-
uv run mypy tests/
45-
uv run mypy integration/
38+
uv run mypy qnexus/ tests/ integration/
4639
if: ${{ matrix.action == 'type' }}
4740

48-
- name: Lint with pylint
41+
- name: Check formatting with ruff
42+
run: uv run ruff format --check .
43+
if: ${{ matrix.action == 'format' }}
44+
45+
- name: Lint with ruff
4946
run: |
50-
uv run pylint qnexus/
51-
uv run pylint tests/
52-
uv run pylint integration/
47+
run: uv run ruff check .
5348
if: ${{ matrix.action == 'lint' }}
5449

5550
test:

0 commit comments

Comments
 (0)