Spelling and grammar fixes

This commit is contained in:
Ville Skyttä 2018-05-13 19:08:22 +02:00
parent 5221014947
commit 9f74e7a4ca
5 changed files with 5 additions and 5 deletions

View file

@ -349,7 +349,7 @@ min-public-methods=2
# Maximum number of public methods for a class (see R0904).
max-public-methods=20
# Maximum number of boolean expressions in a if statement
# Maximum number of boolean expressions in an if statement
max-bool-expr=5

View file

@ -2,7 +2,7 @@
Contributing to Flake8
========================
There are many ways to contriubte to |Flake8|, and we encourage them all:
There are many ways to contribute to |Flake8|, and we encourage them all:
- contributing bug reports and feature requests

View file

@ -33,7 +33,7 @@ Let's do that next.
return 'Example formatter: {0!r}'.format(error)
With that we're done. Obviously this isn't a very useful formatter, but it
should highlight the simplicitly of creating a formatter with Flake8. If we
should highlight the simplicity of creating a formatter with Flake8. If we
wanted to instead create a formatter that aggregated the results and returned
XML, JSON, or subunit we could also do that. |Flake8| interacts with the
formatter in two ways:

View file

@ -86,7 +86,7 @@ setuptools.setup(
],
'flake8.extension': [
'F = flake8.plugins.pyflakes:FlakesChecker',
# PEP-0008 checks provied by PyCQA/pycodestyle
# PEP-0008 checks provided by PyCQA/pycodestyle
PEP8_PLUGIN('tabs_or_spaces'),
PEP8_PLUGIN('tabs_obsolete'),
PEP8_PLUGIN('trailing_whitespace'),

View file

@ -73,7 +73,7 @@ class Violation(_Violation):
def is_inline_ignored(self, disable_noqa):
# type: (Violation) -> bool
"""Determine if an comment has been added to ignore this line.
"""Determine if a comment has been added to ignore this line.
:param bool disable_noqa:
Whether or not users have provided ``--disable-noqa``.