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

Merged
merged 3 commits into from
Apr 21, 2023
Merged

Use Ruff ! #207

merged 3 commits into from
Apr 21, 2023

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Apr 8, 2023

"D205", # Not all docstrings have a short description + desrciption

### FIXME (no warnings in Ruff yet: https://github.com/charliermarsh/ruff/issues/1256):
"PTH",
Copy link
Collaborator Author

@Avasam Avasam Apr 8, 2023

Choose a reason for hiding this comment

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

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.

@Avasam Avasam mentioned this pull request Apr 8, 2023
@Avasam Avasam merged commit 4349939 into Toufool:dev Apr 21, 2023
11 checks passed
@Avasam Avasam deleted the ruff branch April 21, 2023 18:22
Avasam added a commit that referenced this pull request May 23, 2023
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 added a commit that referenced this pull request May 23, 2023
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 added a commit that referenced this pull request May 23, 2023
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.

None yet

1 participant