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

Relax types-docutils version constraint #418

Merged
merged 5 commits into from
Dec 28, 2024
Merged

Relax types-docutils version constraint #418

merged 5 commits into from
Dec 28, 2024

Conversation

tony
Copy link
Owner

@tony tony commented Mar 24, 2024

Supposedly fixes:

src/django_docutils/lib/roles/common.py:134: error: Too many arguments for "Text"  [call-arg] src/django_docutils/lib/metadata/extract.py:57: error: Need more than 0 values to unpack (2 expected)  [misc] src/django_docutils/lib/publisher.py:36: error: Need type annotation for "reader"  [var-annotated] src/django_docutils/lib/publisher.py:48: error: Unused "type: ignore" comment  [unused-ignore] src/django_docutils/lib/publisher.py:50: error: Unused "type: ignore" comment  [unused-ignore] src/django_docutils/lib/publisher.py:124: error: Returning Any from function declared to return "document"  [no-any-return] Found 6 errors in 3 files (checked 55 source files)

Copy link

codecov bot commented Mar 24, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 73.75%. Comparing base (47fa438) to head (c6f4081).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
src/django_docutils/lib/roles/common.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #418      +/-   ##
==========================================
+ Coverage   73.68%   73.75%   +0.06%     
==========================================
  Files          43       43              
  Lines        1140     1143       +3     
==========================================
+ Hits          840      843       +3     
  Misses        300      300              

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

@tony tony force-pushed the docutils-types branch 6 times, most recently from 37928c1 to a248d8b Compare December 26, 2024 21:13
@tony tony force-pushed the docutils-types branch 2 times, most recently from b26b109 to 8c92bdb Compare December 28, 2024 15:10
tony added 4 commits December 28, 2024 09:12
src/django_docutils/lib/roles/common.py:134: error: Too many arguments for "Text"  [call-arg]
src/django_docutils/lib/metadata/extract.py:57: error: Need more than 0 values to unpack (2 expected)  [misc]
src/django_docutils/lib/publisher.py:36: error: Need type annotation for "reader"  [var-annotated]
src/django_docutils/lib/publisher.py:48: error: Unused "type: ignore" comment  [unused-ignore]
src/django_docutils/lib/publisher.py:50: error: Unused "type: ignore" comment  [unused-ignore]
src/django_docutils/lib/publisher.py:124: error: Returning Any from function declared to return "document"  [no-any-return]
Found 6 errors in 3 files (checked 55 source files)
src/django_docutils/template.py:71: error: Redundant cast to "str"  [redundant-cast]

raises locally, but not on CI (?) even though the system has
the same versions across the board.
@tony tony changed the title Docutils types Relax types-docutils version constraint Dec 28, 2024
@tony tony merged commit 1ff49fa into master Dec 28, 2024
11 checks passed
@tony tony deleted the docutils-types branch December 28, 2024 15:19
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