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

improve reformat-yaml action #26

Merged
merged 1 commit into from
Dec 23, 2024
Merged

improve reformat-yaml action #26

merged 1 commit into from
Dec 23, 2024

Conversation

russoz
Copy link
Contributor

@russoz russoz commented Dec 23, 2024

Improve the action:

  • add CLI flag --backticks to search for ``` characters
    • when enabled, report the backtick character within the doc blocks
  • rename fix_period() to fix_desc_line(), adding the fix for capitalisation and removal of double spaces
  • fix notes and seealso in process_documentation()
  • add process_return() to deal with RETURN blocks, fixing description and contains (the latter recursively).

Improve the action:
- add CLI flag `--backticks` to search for `\`` characters
  - when enabled, report the backtick character within the doc blocks
- rename `fix_period()` to `fix_desc_line()`, adding the fix for capitalisation and removal of double spaces
- fix `notes` and `seealso` in `process_documentation()`
- add `process_return()` to deal with RETURN blocks, fixing `description` and `contains` (the latter recursively).
@russoz russoz merged commit 1aab0d5 into main Dec 23, 2024
4 checks passed
@russoz russoz deleted the reformat-yaml-improvements2 branch December 23, 2024 01:50
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