diff options
| author | Brian Wignall <brianwignall@gmail.com> | 2019-12-02 15:38:48 +0000 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-12-02 15:38:48 +0000 |
| commit | 591a2309409a6f509c45224bd102161243803ec7 (patch) | |
| tree | b170be9cdc3366d95ce1565b5c95f32fd163856c | |
| parent | 1062be2643421797ea602f121d51c2b070e1cf18 (diff) | |
| download | flake8-591a2309409a6f509c45224bd102161243803ec7.tar.gz | |
Fix typos
| -rw-r--r-- | docs/source/internal/option_handling.rst | 2 | ||||
| -rw-r--r-- | docs/source/user/using-hooks.rst | 2 | ||||
| -rw-r--r-- | src/flake8/main/application.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/internal/option_handling.rst b/docs/source/internal/option_handling.rst index dd76706..e9098bd 100644 --- a/docs/source/internal/option_handling.rst +++ b/docs/source/internal/option_handling.rst @@ -67,7 +67,7 @@ example, let's consider a user's list of ignored error codes for a project: E251 It makes sense here to allow users to specify the value this way, but, the -standard libary's :class:`configparser.RawConfigParser` class does returns a +standard library's :class:`configparser.RawConfigParser` class does returns a string that looks like .. code-block:: python diff --git a/docs/source/user/using-hooks.rst b/docs/source/user/using-hooks.rst index f4dcd81..25016d5 100644 --- a/docs/source/user/using-hooks.rst +++ b/docs/source/user/using-hooks.rst @@ -21,7 +21,7 @@ Checked-in python files will be passed as positional arguments. ``flake8`` will always lint explicitly passed arguments (:option:`flake8 --exclude` has no effect). Instead use ``pre-commit``'s ``exclude: ...`` regex to exclude files. ``pre-commit`` won't ever pass untracked files to ``flake8`` so -excluding ``.git`` / ``.tox`` / etc. is unnecesary. +excluding ``.git`` / ``.tox`` / etc. is unnecessary. .. code-block:: yaml diff --git a/src/flake8/main/application.py b/src/flake8/main/application.py index e8e63b9..19d7710 100644 --- a/src/flake8/main/application.py +++ b/src/flake8/main/application.py @@ -137,9 +137,9 @@ class Application(object): """Make our ConfigFileFinder based on preliminary options. :param str program_name: - Name of the current programin (e.g., flake8). + Name of the current program (e.g., flake8). :param list extra_config_files: - List of addtional configuration files to be parsed for + List of additional configuration files to be parsed for configuration. :returns: The configuration file finder |
