Skip to content

Conversation

S-Mann
Copy link

@S-Mann S-Mann commented Jul 15, 2021

I saw #43 and I can update the code to consider some flag as per your suggestion

Copy link

@a-t-0 a-t-0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I often run pre-commit twice when after running pyment to realise flake8 compliance. I appreciate how your work improves flake8 compliance. Would you be willing to write a test that shows the change you made?

Note I have no affiliations with pyment, I just like the software.

if len(self.docs['out']['params']):
for p in self.docs['out']['params']:
raw += self.docs['out']['spaces'] + self.dst.get_key('param', 'out') + ' ' + p[0] + sep + with_space(p[1]).strip()
description = sep + with_space(p[1]).strip() if p[1] else ''
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not quite clear to me what this line does, would you, if you consider it appropriate, consider including a comment on what it does?

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.

2 participants