Skip to content

Enable Ruff d200 rule#983

Merged
MarcSkovMadsen merged 1 commit into
mainfrom
enhancement/ruff-D200-rule
Dec 8, 2024
Merged

Enable Ruff d200 rule#983
MarcSkovMadsen merged 1 commit into
mainfrom
enhancement/ruff-D200-rule

Conversation

@MarcSkovMadsen
Copy link
Copy Markdown
Collaborator

@MarcSkovMadsen MarcSkovMadsen commented Nov 23, 2024

Continues from #982. So review that one first.

I've re-renabled rule D200 in pyproject.toml and applied ruff check --unsafe-fixes.

Then checked the changes manually.

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.33%. Comparing base (0d73ff5) to head (c14fba2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #983   +/-   ##
=======================================
  Coverage   87.33%   87.33%           
=======================================
  Files           9        9           
  Lines        4928     4928           
=======================================
  Hits         4304     4304           
  Misses        624      624           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MarcSkovMadsen MarcSkovMadsen changed the title Enhancement/ruff d200 rule Enable Ruff d200 rule Nov 23, 2024
@hoxbro hoxbro changed the base branch from main to enhancement/ruff-D-rule November 23, 2024 08:20
@maximlt
Copy link
Copy Markdown
Member

maximlt commented Nov 25, 2024

@MarcSkovMadsen in case it wasn't clear, I did not suggest to open one PR per rule:

I'm not necessarily saying one rule at a time. It's just I'd like to avoid having to review all the docstrings of the complete API at once, as it's a lot, and I'm quite sure there are a few traps along the way that could slow you down or even block you entirely if done in one PR, while if you iterate we can be much more efficient and release improvements quickly.

I think it's totally fine if you open one PR that enables multiple rules at the same time, specially if it's only about formatting. Things will get more challenging for reviewers as soon as you'll touch the real meat which is the content of the docstrings.

cc @hoxbro

@maximlt maximlt force-pushed the enhancement/ruff-D-rule branch from 7af55fb to 622fd4a Compare December 4, 2024 14:46
Base automatically changed from enhancement/ruff-D-rule to main December 4, 2024 15:09
@hoxbro hoxbro force-pushed the enhancement/ruff-D200-rule branch 2 times, most recently from c841a6b to acaab6c Compare December 4, 2024 16:33
@hoxbro hoxbro force-pushed the enhancement/ruff-D200-rule branch from acaab6c to c14fba2 Compare December 4, 2024 16:36
@MarcSkovMadsen
Copy link
Copy Markdown
Collaborator Author

Are you expecting me to squash and merge?

@hoxbro
Copy link
Copy Markdown
Member

hoxbro commented Dec 4, 2024

It was a bit hard to rebase so maybe take a look that everything is ok and then merge it.

@MarcSkovMadsen MarcSkovMadsen merged commit 10dfc27 into main Dec 8, 2024
@MarcSkovMadsen MarcSkovMadsen deleted the enhancement/ruff-D200-rule branch December 8, 2024 05:17
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.

3 participants