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

Maintenance updates: docformatter fixes, and mypy/docs updates #53

Merged
merged 5 commits into from
Dec 29, 2023

Conversation

BenjaminSchubert
Copy link
Owner

PyCQA/docformatter#137 changed how docformatter behaves to return 3 when files were modified, so we need to be able to tell that this is an allowed return code in some cases.

@BenjaminSchubert BenjaminSchubert changed the title Fix the docformatter predefined step to handle non-0 exit codes Maintenance updates: docformatter fixes, and mypy/docs updates Dec 29, 2023
PyCQA/docformatter#137 changed how
docformatter behaves to return 3 when files were modified, so we need to
be able to tell that this is an allowed return code in some cases.
Also pin docformatter to <1.7.1, as it starts misbehaving with :param
entries
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a798275) 87.46% compared to head (7eb6df7) 87.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   87.46%   87.50%   +0.04%     
==========================================
  Files          51       51              
  Lines        2297     2305       +8     
  Branches      296      297       +1     
==========================================
+ Hits         2009     2017       +8     
  Misses        226      226              
  Partials       62       62              

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

Otherwise, when tests hang, they take 6 hours to finish. Our mean time
is 8 minutes, thus 15 should be plenty of headroom

The pypy tests seem to hang on GitHub Actions and we dont' get logs for
what happened. Running them serially seems to gix the problem, let's do
that for now
@BenjaminSchubert BenjaminSchubert merged commit 2d56a3a into main Dec 29, 2023
18 checks passed
@BenjaminSchubert BenjaminSchubert deleted the bschubert/fix-docformatter branch December 29, 2023 15:32
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