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

Use Ruff ! (#207) #240

Merged
merged 1 commit into from
May 23, 2023
Merged

Use Ruff ! (#207) #240

merged 1 commit into from
May 23, 2023

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented May 23, 2023

Backport from dev. Reduce tooling friction between branches and reduce changes from dev.

Original cherry-picked commit below


https://beta.ruff.rs/docs/
https://github.com/charliermarsh/ruff

Massively simplify configurations and speedup linting thanks to Ruff. Adds more autofixes too. Using pathlib instead of os.path is the modern way to go. However fixing this could introduce a bug if not careful. So I'm leaving it for later.

https://beta.ruff.rs/docs/
https://github.com/charliermarsh/ruff

Massively simplify configurations and speedup linting thanks to Ruff. Adds more autofixes too.
Using `pathlib` instead of `os.path` is the modern way to go. However fixing this could introduce a bug if not careful. So I'm leaving it for later.

Existing related Ruff requests (nothing here is a blocker, just future improvements):
- astral-sh/ruff#1256
- astral-sh/ruff#3011
- astral-sh/ruff#3072
- astral-sh/ruff#3910
- astral-sh/ruff#2419
- astral-sh/ruff#3115
- astral-sh/ruff#1904
@Avasam Avasam merged commit 193e870 into master May 23, 2023
@Avasam Avasam deleted the ruff-to-master branch May 23, 2023 13:29
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