Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Added D403: First word of first line should be properly capitalized #165

Merged
merged 6 commits into from Dec 13, 2015

Conversation

Nurdok
Copy link
Member

@Nurdok Nurdok commented Dec 11, 2015

The new error is turned on by default.

"""Return the source code for the definition."""
full_src = self._source[self._slice]

def predicate(line):
Copy link
Member

Choose a reason for hiding this comment

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

A better name might be nice, e.g., is_comment_or_empty. predicate is a bit too generic.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@Nurdok
Copy link
Member Author

Nurdok commented Dec 12, 2015

@sigmavirus24 @myint Any more comments before I merge this?

@myint
Copy link
Member

myint commented Dec 12, 2015

Looks good to me!

Thanks

Nurdok added a commit that referenced this pull request Dec 13, 2015
Added D403: First word of first line should be properly capitalized
@Nurdok Nurdok merged commit f7c12a8 into PyCQA:master Dec 13, 2015
@Nurdok Nurdok deleted the D403 branch December 13, 2015 18:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants