From 0f181954fdac14c1cc585bc5034b70de24271437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 13 Aug 2016 11:13:37 +0300 Subject: [PATCH] Spelling fixes --- docs/source/internal/cli.rst | 2 +- docs/source/internal/contributing.rst | 2 +- docs/source/internal/option_handling.rst | 2 +- src/flake8/api/legacy.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/internal/cli.rst b/docs/source/internal/cli.rst index f203125..cbb1fef 100644 --- a/docs/source/internal/cli.rst +++ b/docs/source/internal/cli.rst @@ -6,7 +6,7 @@ The command line interface of |Flake8| is modeled as an application via command line, :func:`~flake8.main.cli.main` is run which handles management of the application. -User input is parsed *twice* to accomodate logging and verbosity options +User input is parsed *twice* to accommodate logging and verbosity options passed by the user as early as possible. This is so as much logging can be produced as possible. diff --git a/docs/source/internal/contributing.rst b/docs/source/internal/contributing.rst index 29afc6a..27607bc 100644 --- a/docs/source/internal/contributing.rst +++ b/docs/source/internal/contributing.rst @@ -6,7 +6,7 @@ There are many ways to contriubte to |Flake8|, and we encourage them all: - contributing bug reports and feature requests -- contributing documenation (and yes that includes this document) +- contributing documentation (and yes that includes this document) - reviewing and triaging bugs and merge requests diff --git a/docs/source/internal/option_handling.rst b/docs/source/internal/option_handling.rst index 74ecb76..86b7021 100644 --- a/docs/source/internal/option_handling.rst +++ b/docs/source/internal/option_handling.rst @@ -166,7 +166,7 @@ Configuration file discovery is managed by the :class:`~flake8.options.config.ConfigFileFinder` object. This object needs to know information about the program's name, any extra arguments passed to it, and any configuration files that should be appended to the list of discovered -files. It provides methods for finding the files and similiar methods for +files. It provides methods for finding the files and similar methods for parsing those fles. For example, it provides :meth:`~flake8.options.config.ConfigFileFinder.local_config_files` to find known local config files (and append the extra configuration files) and it diff --git a/src/flake8/api/legacy.py b/src/flake8/api/legacy.py index 1277460..142acd6 100644 --- a/src/flake8/api/legacy.py +++ b/src/flake8/api/legacy.py @@ -180,7 +180,7 @@ class Report(object): return self._application.result_count def get_statistics(self, violation): - """Get the list of occurences of a violation. + """Get the list of occurrences of a violation. :returns: List of occurrences of a violation formatted as: