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

Formatting: black -> ruff format #27

Merged
merged 8 commits into from Nov 18, 2023
Merged

Formatting: black -> ruff format #27

merged 8 commits into from Nov 18, 2023

Conversation

tony
Copy link
Member

@tony tony commented Nov 12, 2023

Changes

Development

  • Convert from black to ruff format (https://docs.astral.sh/ruff/formatter/)

    This retains the formatting style of black while eliminating a dev dependency by using our existing rust-based ruff linter.

@tony tony force-pushed the ruff-format branch 2 times, most recently from 971fa23 to 2dde9a7 Compare November 18, 2023 09:45
@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (af9830c) 58.37% compared to head (0dac7b2) 58.37%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   58.37%   58.37%           
=======================================
  Files          10       10           
  Lines         639      639           
=======================================
  Hits          373      373           
  Misses        266      266           

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

@tony tony force-pushed the ruff-format branch 6 times, most recently from f795a93 to 2c3e132 Compare November 18, 2023 11:03
src/doctest_docutils.py:340: error: "type[DocTestParser]" has no attribute "_EXAMPLE_RE"  [attr-defined]
src/doctest_docutils.py:341: error: Unused "type: ignore" comment  [unused-ignore]
src/pytest_doctest_docutils.py:241: error: Argument 1 to "from_parent" of "DoctestItem" has incompatible type "DocTestDocutilsFile"; expected "DoctestTextfile | DoctestModule"  [arg-type]
src/pytest_doctest_docutils.py:244: error: Unused "type: ignore" comment  [unused-ignore]
@tony tony merged commit 5cf225f into master Nov 18, 2023
15 checks passed
@tony tony deleted the ruff-format branch November 18, 2023 12:21
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

2 participants