ruff.toml: [lint] select = [ "D"] [lint.pydocstyle] convention = "numpy" example.py: (docstring error see var2 -> var3) '''Example module that contains a function with type hints.''' def example(var1: int, var2:
This is necessary for#3485, as Python 3.13 dedents docstrings and breaks that test. Ruff does a better job than us at testing that. Findings for people wanting to do the same: Do this first, else some auto“fixes” break things [tool.ruff.lint.pydocstyle]convention="numpy" Don’t rel...
Also, there seems to be some added docstrings that are not numpydoc style (google style?). shapely/algorithms/polylabel.py Outdated Show resolved shapely/constructive.py Outdated Show resolved shapely/coords.py Outdated Show resolved shapely/geometry/base.py Outdated Show resolved shapely/...
Google-style sections no longer cause false errors when used with Numpy-style sections (#388, #424). D202: Allow a blank line after function docstring when followed by declaration of an inner function or class (#395, #426). Fix D401 and D404 checks not working for docstrings containing ...
The framework for checking docstring style is flexible, and custom checks can be easily added, for example to cover NumPy docstring conventions. pydocstyle supports Python 3.4, 3.5, 3.6, and 3.7. Current build status All platforms: Current release info NameDownloadsVersionPlatforms Installing py...
Used Ruff rules for `pydocstyle` to standardize docstring formatting. * Add config for ruff pydocstyle * Safe fixes from ruff * Unsafe fixes from ruffmain (#58, ManimCommunity/manim#3881) JasonGrace2282 authored Sep 1, 2024 Verified Verified This commit was created on GitHub.com and ...