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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
python-version: "3.12"

- name: Check format
run: uvx ruff format --check .
run: uvx ruff@0.15.12 format --check .

- name: Lint
run: uvx ruff check .
run: uvx ruff@0.15.12 check .

types:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ output-format = "concise"
line-length = 88
extend-exclude = []

[tool.ruff.format]
# ruff >= 0.16 formats Python code blocks inside Markdown by default and
# inserts PEP 8 blank lines in every doc snippet. Docs stay hand-formatted.
exclude = ["*.md"]

[tool.ruff.lint]
select = [
"F", # Pyflakes
Expand Down