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

Document the objective (and differences with other formatters) more clearly #38

Closed
hukkin opened this issue Feb 4, 2022 · 1 comment · Fixed by #99
Closed

Document the objective (and differences with other formatters) more clearly #38

hukkin opened this issue Feb 4, 2022 · 1 comment · Fixed by #99
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@hukkin
Copy link

hukkin commented Feb 4, 2022

Hey this seems like a cool tool!

I'm curious to know (and perhaps this is worth documenting?) what are the main differences to docformatter, seeing that this tool (IIUC) stems from the fact that docformatter was not optimal for pylint's use.

Does this tool do something that docformatter doesn't or vice versa? Is one more opinionated than the other?

Anyways, thanks for making this and publishing under a permissive license 👍

@DanielNoord
Copy link
Owner

One of the main "gripes" we had with docformatter was that PyCQA/docformatter#9 is still open. This is something we wanted to actively enforce in pylint and was actually the main reasons we were looking for a docstring formatter ourselves.
Another potential issue was that PyCQA/docformatter#75 was not resolved.

That's why I and @Pierre-Sassoulas opted to write our own tool. It's still in the early stages but for me the goal would be best described as:
"A docstring formatter that follows PEP8 and PEP257 but makes some of the more 'controversial' elements of the PEPs optional."

I think it would be good to document this objective more clearly when we get close to releasing 1.0 and the tool is an a more definitive shape. I'll keep this issue open to document that.

Feel free to ask any other question you might have btw 😄

@DanielNoord DanielNoord changed the title Comparison with docformatter Document the objective (and differences with other formatters) more clearly Feb 5, 2022
@DanielNoord DanielNoord added the documentation Improvements or additions to documentation label Feb 5, 2022
@DanielNoord DanielNoord added this to the 0.5.0 milestone Feb 16, 2022
@DanielNoord DanielNoord modified the milestones: 0.5.0, 0.6.0 Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants