From dedb741fadc19fd547798afb8def09e776840341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 11 Nov 2018 11:14:51 +0200 Subject: Grammar fixes --- docs/source/internal/utils.rst | 2 +- docs/source/plugin-development/cross-compatibility.rst | 2 +- docs/source/user/python-api.rst | 2 +- docs/source/user/violations.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/source/internal/utils.rst b/docs/source/internal/utils.rst index 1b2bb1c..31e0d39 100644 --- a/docs/source/internal/utils.rst +++ b/docs/source/internal/utils.rst @@ -51,7 +51,7 @@ path if the string has a ``/`` in it. It also removes trailing ``/``\ s. .. autofunction:: flake8.utils.normalize_paths 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. .. autofunction:: flake8.utils.stdin_get_value diff --git a/docs/source/plugin-development/cross-compatibility.rst b/docs/source/plugin-development/cross-compatibility.rst index 9deadec..07c84e3 100644 --- a/docs/source/plugin-development/cross-compatibility.rst +++ b/docs/source/plugin-development/cross-compatibility.rst @@ -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 does not directly provide anything for plugins using pep8 and pycodestyle's ``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: diff --git a/docs/source/user/python-api.rst b/docs/source/user/python-api.rst index 2c576ae..85b33b8 100644 --- a/docs/source/user/python-api.rst +++ b/docs/source/user/python-api.rst @@ -11,7 +11,7 @@ be documented here. 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 existing users of that API we have :mod:`flake8.api.legacy`. This module includes a couple classes (which are documented below) and a function. diff --git a/docs/source/user/violations.rst b/docs/source/user/violations.rst index 5076a96..a511bdc 100644 --- a/docs/source/user/violations.rst +++ b/docs/source/user/violations.rst @@ -218,7 +218,7 @@ Selecting and Ignoring Simultaneously For Fun and Profit ======================================================== 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. pycodestyle has always preferred ``--ignore`` over ``--select`` and will -- cgit v1.2.1