Skip to content

DOC: docstrings in robust.norms, improve, reorganize - #8975

Merged
bashtage merged 3 commits into
statsmodels:mainfrom
Ca7Ac1:DocUpdates
Aug 9, 2026
Merged

bashtage merged 3 commits into
statsmodels:mainfrom
Ca7Ac1:DocUpdates

Conversation

@Sudo-Guy

@Sudo-Guy Sudo-Guy commented Aug 15, 2023 •

Copy link
Copy Markdown
Details

Notes:

  • It is essential that you add a test when making code changes. Tests are not
    needed for doc changes.
  • When adding a new function, test values should usually be verified in another package (e.g., R/SAS/Stata).
  • When fixing a bug, you must add a test that would produce the bug in main and
    then show that it is fixed with the new code.
  • New code additions must be well formatted. Changes should pass flake8. If on Linux or OSX, you can
    verify you changes are well formatted by running
    git diff upstream/main -u -- "*.py" | flake8 --diff --isolated
    
    assuming flake8 is installed. This command is also available on Windows
    using the Windows System for Linux once flake8 is installed in the
    local Linux environment. While passing this test is not required, it is good practice and it help
    improve code quality in statsmodels.
  • Docstring additions must render correctly, including escapes and LaTeX.

@Sudo-Guy Sudo-Guy changed the title Doc updates DOC: docstrings in robust.norms, improve, reorganize Aug 16, 2023
@Sudo-Guy
Sudo-Guy marked this pull request as ready for review August 16, 2023 16:16
@josef-pkt josef-pkt added this to the 0.15 milestone Jun 17, 2024
@josef-pkt

Copy link
Copy Markdown
Member

bump
seems to have gotten lost

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

Thanks for the pull request! The AI Disclosure checklist item in the PR description hasn't been completed yet.

Per the AI Policy, please edit the PR description and check the box that applies: either "No AI tools were used" or "AI tools were used" (naming the tool(s) and how they were used).

Removed redundant mathematical representation of the robust criterion function.
@bashtage
bashtage merged commit 22e68ba into statsmodels:main Aug 9, 2026
0 of 2 checks passed
@bashtage

bashtage commented Aug 9, 2026

Copy link
Copy Markdown
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOC: docstrings in robust.norms, improve, reorganize

4 participants