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 @@ -26,10 +26,10 @@ jobs:
run: uv sync --group dev

- name: Lint (ruff)
run: uvx ruff check .
run: uvx ruff@0.16.10 check .

- name: Format (ruff)
run: uvx ruff format --check .
run: uvx ruff@0.16.10 format --check .

- name: Type check (ty)
run: uv run ty check
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.14.2
# Ruff version. Keep in sync with the ruff version in .github/workflows/ci.yml
rev: v0.16.10
hooks:
# Run the linter.
- id: ruff-check
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import asyncio
from cflib2 import Crazyflie, LinkContext


async def main():
context = LinkContext()

Expand All @@ -26,6 +27,7 @@ async def main():
print(f"Low voltage threshold: {value}V")
await cf.disconnect()


asyncio.run(main())
```

Expand Down
Loading