Skip to content

Conversation

@DanielNoord
Copy link
Owner

Currently only supports --style pep257

@DanielNoord DanielNoord added the enhancement New feature or request label Jul 22, 2022
@github-actions

This comment has been minimized.

Currently only supports ``--style pep257``
@github-actions

This comment has been minimized.

@github-actions
Copy link

According to the primer, this change has no effect on the checked open source code. 🤖🎉

@codecov
Copy link

codecov bot commented Jul 22, 2022

Codecov Report

Merging #138 (d0b1945) into main (ed617f6) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #138   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines          478       481    +3     
=========================================
+ Hits           478       481    +3     
Impacted Files Coverage Δ
...tringformatter/_configuration/arguments_manager.py 100.00% <100.00%> (ø)

Comment on lines +49 to +50
Docstring styles that are used in the project. Can be
more than one.
Copy link
Collaborator

Choose a reason for hiding this comment

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

It means we'll have to detect which style is which given a docstring. We have something who does that in pylint, we might extract it to make something generic...

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yeah that's the next step.

Although I don't really like the difficult regexes pylint uses. I'd rather build them from scratch here and see if we can keep them a little bit simpler.

We need less information that pylint needs to extract from the regexes anyway as we don't really care about the content of the docstrings...

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd rather build them from scratch here and see if we can keep them a little bit simpler.

Then it's an opportunity to remove the complicated regexes from pylint and instead of extracting we replace them 😄

Copy link
Collaborator

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

👌

@DanielNoord DanielNoord merged commit 7923bb3 into main Jul 22, 2022
@DanielNoord DanielNoord deleted the style branch July 22, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants