matthew-brett / delocate

Find and copy needed dynamic libraries into python wheels
BSD 2-Clause "Simplified" License
262 stars 59 forks source link

Enable pydocstyle linting #206

Closed HexDecimal closed 4 months ago

HexDecimal commented 4 months ago

Updated .pre-commit-config.yaml and removed default_language_version for now as it was overly strict and causing minor issues.

Enabled the pydocstyle rule for Ruff and updated the pyproject.toml file to a less deprecated layout.

Applied the new rule to all relevant files. Includes adding docstrings to some functions and modules which were missing any.

These changes are not meant to affect any code, although a test involving patched wheels was updated to be aware of a modules new docstring.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5bad72b) 96.81% compared to head (5a45ac7) 96.80%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #206 +/- ## ========================================== - Coverage 96.81% 96.80% -0.01% ========================================== Files 15 15 Lines 1288 1285 -3 ========================================== - Hits 1247 1244 -3 Misses 41 41 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.