Skip to content

Commit e940fba

Browse files
committed
fix ruff config
1 parent 02b17e7 commit e940fba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ jobs:
4949
uv pip install -q "${{ matrix.django }}"
5050
- name: Run tests
5151
run: |
52-
uv run ruff .
52+
uv run ruff check .
5353
uv run ruff format --check .
5454
uv run python -m pytest

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ dev = [
4747

4848
[tool.ruff]
4949
line-length = 100
50+
[tool.ruff.lint]
5051
select = [
5152
"E",
5253
"F",
@@ -56,7 +57,7 @@ select = [
5657
"C4",
5758
]
5859
ignore = ["E501"]
59-
[tool.ruff.pyflakes]
60+
[tool.ruff.lint.pyflakes]
6061
extend-generics = [
6162
"mongoengine.queryset.QuerySetManager",
6263
"mongoengine.queryset.QuerySet",

0 commit comments

Comments
 (0)