Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

infra: format with ruff #2540

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 2 commits into
base: main
Choose a base branch
Loading
from
Open

infra: format with ruff #2540

wants to merge 2 commits into from

Conversation

JacobCoffee
Copy link
Member

What

  • format with ruff

Close

@JacobCoffee
Copy link
Member Author

JacobCoffee commented Sep 12, 2024

there's about 7000 issues found with ruff lint. taking away docstring and missing type annotations its not so bad at around ~500 so working through some of those to see if its something we want to do (i do 🥹)

@ewdurbin
Copy link
Member

ewdurbin commented Sep 12, 2024

Zero opposition, but please can handle all concerns then rebase this down to one commit so we can do something like https://black.readthedocs.io/en/stable/guides/introducing_black_to_your_project.html#avoiding-ruining-git-blame

"We're happy to announce the new way to file a contributor "
"agreement: on the web at",
self.entries[0]['summary']
"We're happy to announce the new way to file a contributor " "agreement: on the web at",
Copy link
Member

Choose a reason for hiding this comment

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

Turn on ISC to catch these:

Suggested change
"We're happy to announce the new way to file a contributor " "agreement: on the web at",
"We're happy to announce the new way to file a contributor agreement: on the web at",

https://docs.astral.sh/ruff/rules/#flake8-implicit-str-concat-isc

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.

infra(dev): add code formatting/linting
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.