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

Allow to choose members order of classes and modules #653

Merged
merged 23 commits into from
Mar 26, 2024

Conversation

tristanlatr
Copy link
Contributor

Add options --cls-member-order and --mod-member-order, fixes #580 and fixes #485.

@codecov
Copy link

codecov bot commented Sep 15, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (f835fb4) to head (faf7b37).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #653      +/-   ##
==========================================
+ Coverage   92.68%   92.70%   +0.02%     
==========================================
  Files          47       47              
  Lines        8279     8304      +25     
  Branches     1828     1833       +5     
==========================================
+ Hits         7673     7698      +25     
  Misses        347      347              
  Partials      259      259              

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

README.rst Outdated Show resolved Hide resolved
README.rst Outdated Show resolved Hide resolved
@tristanlatr
Copy link
Contributor Author

This looks good, I’m just unsure we absolutely need to introduce two new arguments… this sounds like a lot.

This comment has been minimized.

This comment has been minimized.

…es from docstring fields.

Should we store the linenumber as the docstring_lineno as well ?

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

Copy link

According to pydoctor_primer, this change doesn't affect pydoctor warnings on a corpus of open source code. ✅

@tristanlatr tristanlatr merged commit 7f82028 into master Mar 26, 2024
22 checks passed
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.

Fix different presentation order in modules and packages Preserve the order of methods within a class
1 participant