Skip to content

Python SDK: Make examples executable and lint/format all python code #891

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

gazpachoking
Copy link
Contributor

There are a few cleanups in here that I've separated out from #850.

  • Add settings and lint/format all files with ruff
  • Update all examples to use datastar 1.0 beta 11 (some of them were broken without this)
  • Make all examples executable directly with uv run e.g. uv run examples/python/sanic/app.py will install necessary python and deps and run the example.

I did this on top of the branch from #850 to avoid having to fix merge conflicts, assuming that will go in. The diff for just this change can be viewed here gazpachoking/datastar@read_signals...gazpachoking:datastar:new_cleanup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant