Skip to content

upgrade ruff to 0.4.1#394

Merged
pmeier merged 1 commit intomainfrom
upgrade-ruff
Apr 24, 2024
Merged

upgrade ruff to 0.4.1#394
pmeier merged 1 commit intomainfrom
upgrade-ruff

Conversation

@pmeier
Copy link
Member

@pmeier pmeier commented Apr 24, 2024

No description provided.

Comment on lines +22 to +25
exclude: "^docs/(tutorials|examples)/gallery_.*?\\.py$"
- id: ruff-format
files: "^docs/(tutorials|examples)/gallery_.*?\\.py$"
args: [--line-length=83]
Copy link
Member Author

Choose a reason for hiding this comment

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

The galleries use a smaller maximum line length to avoid vertical scrollbars. Example in the comment below.

Comment on lines +118 to +120
response = client.post(
"/document", json={"name": document_name}
).raise_for_status()
Copy link
Member Author

Choose a reason for hiding this comment

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

Without this formatting, we have the following in our current live docs:

image

@pmeier pmeier merged commit 7475a5b into main Apr 24, 2024
@pmeier pmeier deleted the upgrade-ruff branch April 24, 2024 07:44
pmeier added a commit that referenced this pull request Jun 28, 2024
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