Skip to content

Commit e499977

Browse files
committed
ci: add ruff as dev dependency for uv
1 parent e995ce7 commit e499977

3 files changed

Lines changed: 40 additions & 2 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cache-dependency-path: uv.lock
2727
- name: Install dependencies with dev group
2828
run: |
29-
uv sync
29+
uv sync --group dev
3030
- name: Run ruff
3131
run: |
3232
uv run ruff --version

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ format = "{base}+{distance}.{commit}"
8383
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
8484
build-backend = "poetry_dynamic_versioning.backend"
8585

86+
[dependency-groups]
87+
dev = [
88+
"ruff>=0.15.20",
89+
]
90+
8691
[tool.poetry.group.dev.dependencies]
8792
flake8 = "*"
8893
shiv = "*"
@@ -123,4 +128,4 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
123128
[tool.ruff.lint.flake8-quotes]
124129
docstring-quotes = "double"
125130
inline-quotes = "double"
126-
multiline-quotes = "double"
131+
multiline-quotes = "double"

uv.lock

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)