oxsecurity / megalinter

🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
https://megalinter.io
GNU Affero General Public License v3.0
1.9k stars 232 forks source link

Support for `docstrfmt` (fork of `rstfmt`) #670

Closed tpansino closed 3 years ago

tpansino commented 3 years ago

Is your feature request related to a problem? Please describe. rstfmt seems dead. For example, the latest install is broken due to the release of sphinx >= 4.0, which has been out for some time, and the maintainer isn't showing much interest in fixing it. I previously contributed a hack to MegaLinter to work around this.

Describe the solution you'd like Here is a promising fork of the tool called docstrfmt that shows signs of recent activity, and actually works on install. I might try to contribute this as an alternative to rstfmt, copying the pattern used for the JavaScript and Markdown formatters to let users choose.

Or I could just replace rstfmt with this, since it's a fork and looks to be compatible. I'll let @nvuillam decide :)

Describe alternatives you've considered Google searches don't indicate any other tools for formatting of reStructuredText. This seems to be the only real attempt at one.

Additional context None

nvuillam commented 3 years ago

Go ! :)

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

tpansino commented 2 years ago

@TimPansino, here's one of the feature enhancements I mentioned tonight. You might be able to have a go at this since it'd be useful to the Python community. I think the new tool should be drop-in replaceable since it's a fork.