Grammar fixes

This commit is contained in:
Ville Skyttä 2018-11-11 11:14:51 +02:00
parent 4439ea2025
commit dedb741fad
5 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ path if the string has a ``/`` in it. It also removes trailing ``/``\ s.
.. autofunction:: flake8.utils.normalize_paths .. autofunction:: flake8.utils.normalize_paths
This function utilizes :func:`~flake8.utils.parse_comma_separated_list` and This function utilizes :func:`~flake8.utils.parse_comma_separated_list` and
:func:`~flake8.utils.normalize_path` to normalize it's input to a list of :func:`~flake8.utils.normalize_path` to normalize its input to a list of
strings that should be paths. strings that should be paths.
.. autofunction:: flake8.utils.stdin_get_value .. autofunction:: flake8.utils.stdin_get_value

View file

@ -161,7 +161,7 @@ some plugins. |Flake8| 2.5 and earlier had started monkey-patching pep8's
monkey-patched that. 3.0 has its own internal implementation and uses that but monkey-patched that. 3.0 has its own internal implementation and uses that but
does not directly provide anything for plugins using pep8 and pycodestyle's does not directly provide anything for plugins using pep8 and pycodestyle's
``stdin_get_value`` function. |polyfill| provides this functionality for ``stdin_get_value`` function. |polyfill| provides this functionality for
plugin developers via it's :mod:`flake8_polyfill.stdin` module. plugin developers via its :mod:`flake8_polyfill.stdin` module.
If a plugin needs to read the content from stdin, it can do the following: If a plugin needs to read the content from stdin, it can do the following:

View file

@ -11,7 +11,7 @@ be documented here.
Legacy API Legacy API
========== ==========
When |Flake8| broke it's hard dependency on the tricky internals of When |Flake8| broke its hard dependency on the tricky internals of
pycodestyle, it lost the easy backwards compatibility as well. To help pycodestyle, it lost the easy backwards compatibility as well. To help
existing users of that API we have :mod:`flake8.api.legacy`. This module existing users of that API we have :mod:`flake8.api.legacy`. This module
includes a couple classes (which are documented below) and a function. includes a couple classes (which are documented below) and a function.

View file

@ -218,7 +218,7 @@ Selecting and Ignoring Simultaneously For Fun and Profit
======================================================== ========================================================
Prior to |Flake8| 3.0, all handling of :option:`flake8 --select` and Prior to |Flake8| 3.0, all handling of :option:`flake8 --select` and
:option:`flake8 --ignore` was delegated to pycodestyle. It's handling of the :option:`flake8 --ignore` was delegated to pycodestyle. Its handling of the
options significantly differs from how |Flake8| 3.0 has been designed. options significantly differs from how |Flake8| 3.0 has been designed.
pycodestyle has always preferred ``--ignore`` over ``--select`` and will pycodestyle has always preferred ``--ignore`` over ``--select`` and will

View file

@ -339,7 +339,7 @@ class PluginManager(object): # pylint: disable=too-few-public-methods
def version_for(plugin): def version_for(plugin):
# (Plugin) -> Union[str, NoneType] # (Plugin) -> Union[str, NoneType]
"""Determine the version of a plugin by it's module. """Determine the version of a plugin by its module.
:param plugin: :param plugin:
The loaded plugin The loaded plugin