ansible-collections / vmware.vmware

Ansible VMWare Collection
GNU General Public License v3.0
7 stars 10 forks source link

add spell check pre-commit and fix typos #69

Closed mikemorency closed 1 month ago

mikemorency commented 1 month ago
SUMMARY

Fixes typos in documentation.

Also added a pre-commit option to spell check the repo. The pre-commit hooks are optional, but should make it easier for regular contributors to catch these issues before they are released.

ISSUE TYPE
codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 26.29%. Comparing base (013afa4) to head (b76c599). Report is 9 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #69 +/- ## ========================================== + Coverage 26.09% 26.29% +0.19% ========================================== Files 19 20 +1 Lines 1667 1742 +75 Branches 331 339 +8 ========================================== + Hits 435 458 +23 - Misses 1232 1284 +52 ``` | [Flag](https://app.codecov.io/gh/ansible-collections/vmware.vmware/pull/69/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | Coverage Δ | | |---|---|---| | [sanity](https://app.codecov.io/gh/ansible-collections/vmware.vmware/pull/69/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | `26.29% <ø> (+0.19%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections#carryforward-flags-in-the-pull-request-comment) to find out more.

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

anna-savina commented 1 month ago

@mikemorency Fix also these lines please

https://github.com/ansible-collections/vmware.vmware/blob/d735426d8a273225e36d76681abc423a4226c724/plugins/doc_fragments/vmware.py#L77

https://github.com/ansible-collections/vmware.vmware/blob/d735426d8a273225e36d76681abc423a4226c724/plugins/modules/cluster.py#L74