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

Include flake8 config for convenience #1063

Merged
merged 1 commit into from
Dec 11, 2018
Merged

Conversation

kaste
Copy link
Collaborator

@kaste kaste commented Nov 22, 2018

Currently, GitSavvy uses pycodestyle but it is easy to include
appropriate settings for flake8 and will make contributors happy.

Currently, GitSavvy uses pycodestyle but it is easy to include
appropriate settings for flake8 and will make contributors happy.
Copy link
Collaborator

@randy3k randy3k left a comment

Choose a reason for hiding this comment

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

LGTM

@stoivo stoivo merged commit b20c7f3 into timbrel:dev Dec 11, 2018
max-line-length = 120
ignore =
E401,
D,
Copy link
Member

Choose a reason for hiding this comment

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

I'm not familiar with D violations, could you please point me to the reference (if this is not a typo that is)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

'D' are all docstring violations. flake8 is a combination mostly of pyflakes, pycodestyle and pydocstyle.

'D' expects docstrings for modules, classes, and all public methods and functions. And they must have a specific style. One short sentence, followed by a empty line etc. It's basically noise.

Copy link
Member

Choose a reason for hiding this comment

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

Cool, good to know, thanks for the response @kaste 👍

@kaste kaste deleted the setup-for-flake8 branch December 12, 2018 09:21
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.

None yet

4 participants