Skip to content

ruff format#10

Merged
mikegros merged 12 commits into
mainfrom
alui/format
Aug 25, 2025
Merged

ruff format#10
mikegros merged 12 commits into
mainfrom
alui/format

Conversation

@luiarthur

@luiarthur luiarthur commented Aug 22, 2025

Copy link
Copy Markdown
Collaborator
  • Ran ruff format (no other changes in src/ and examples/)
  • Added CONTRIBUTING.md to describe how to automate ruff formatting prior to git commits
  • Added pre-commit as dev dependency
  • Updated uv.lock to include pre-commit
  • Added .pre-commit-config.yaml to automate rufff formatting prior to git commits
  • Added github action (.github/workflows/ruff.ymlto check formatting before pushing to main and when submitting PRs
    • PRs cannot be merged until formatting is fixed with ruff format
  • Use full path to README.md logos so they can be rendered in PyPI

@mikegros let me know if you're okay with me merging this.

@mikegros

Copy link
Copy Markdown
Collaborator

Have you run examples to make sure ruff didn't mess up any of them, or is it guaranteed not to?

@mikegros mikegros merged commit 6ca9273 into main Aug 25, 2025
1 check passed
@luiarthur luiarthur deleted the alui/format branch August 25, 2025 16:05
@luiarthur

Copy link
Copy Markdown
Collaborator Author

Have you run examples to make sure ruff didn't mess up any of them, or is it guaranteed not to?

yes, ruff format will only format. I've turned off linting for now.

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.

2 participants