Skip to content
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

[DO NOT MERGE] enable style check #7885

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chenmoneygithub
Copy link
Collaborator

As one step towards stable package (DSPy 3.0), we will enforce the python style for easy maintenance and scalability.

This PR just contains the desired ruff rules, and we will make separate PRs to fix files according to the rule. After everything is fixed we will check in this PR and enable style check and pre-commit hook.

@chenmoneygithub chenmoneygithub marked this pull request as draft February 28, 2025 23:10
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []

[tool.ruff.format]
docstring-code-format = false
quote-style = "double"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already the default value.

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