Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ runs:
- name: Install deps
shell: bash
run: |
uv sync --locked --all-extras --all-packages --all-groups
uv sync --locked --active --all-extras --all-packages --all-groups

3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Deps check
run: uv lock --check

- name: Format
run: uv run ruff format

- name: Lint
run: uv run ruff check --fix

Expand Down
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dev = [
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"httpx>=0.28.1",
"pre-commit>=4.2.0",
]
lint = [
"ruff>=0.11.6",
Expand Down Expand Up @@ -94,4 +95,3 @@ exclude = [
[tool.ruff.format]
quote-style = "double"
indent-style = "space"

Loading