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

Enable pydocstyle linting #206

Merged
merged 4 commits into from
Feb 27, 2024

Conversation

HexDecimal
Copy link
Collaborator

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.

Remove default_language_version as this is causing more problems than it solves.
Docstrings edited to follow consistent rules.

Add missing docstrings to some modules and functions.

Fix the poor wording on some recent docstrings.
Copy link

codecov bot commented Feb 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@            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              

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

@HexDecimal HexDecimal merged commit 43ad6b3 into matthew-brett:master Feb 27, 2024
17 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.

1 participant