diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/flake8/checker.py | 2 | ||||
| -rw-r--r-- | src/flake8/defaults.py | 2 | ||||
| -rw-r--r-- | src/flake8/main/mercurial.py | 2 | ||||
| -rw-r--r-- | src/flake8/main/vcs.py | 2 | ||||
| -rw-r--r-- | src/flake8/options/config.py | 2 | ||||
| -rw-r--r-- | src/flake8/options/manager.py | 2 | ||||
| -rw-r--r-- | src/flake8/utils.py | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/flake8/checker.py b/src/flake8/checker.py index be1c7f7..b4ef97d 100644 --- a/src/flake8/checker.py +++ b/src/flake8/checker.py @@ -109,7 +109,7 @@ class Manager(object): # First we walk through all of our error cases: # - multiprocessing library is not present # - we're running on windows in which case we know we have significant - # implemenation issues + # implementation issues # - the user provided stdin and that's not something we can handle # well # - we're processing a diff, which again does not work well with diff --git a/src/flake8/defaults.py b/src/flake8/defaults.py index 72452a7..1d32bd7 100644 --- a/src/flake8/defaults.py +++ b/src/flake8/defaults.py @@ -35,7 +35,7 @@ NOQA_INLINE_REGEXP = re.compile( # We do not want to capture the ``: `` that follows ``noqa`` # We do not care about the casing of ``noqa`` # We want a comma-separated list of errors - # https://regex101.com/r/4XUuax/2 full explenation of the regex + # https://regex101.com/r/4XUuax/2 full explanation of the regex r"# noqa(?::[\s]?(?P<codes>([A-Z]+[0-9]+(?:[,\s]+)?)+))?", re.IGNORECASE, ) diff --git a/src/flake8/main/mercurial.py b/src/flake8/main/mercurial.py index 4ea410a..c387e84 100644 --- a/src/flake8/main/mercurial.py +++ b/src/flake8/main/mercurial.py @@ -21,7 +21,7 @@ def hook(ui, repo, **kwargs): around Hooks: https://www.mercurial-scm.org/wiki/Hook. We avoid using the ``ui`` attribute because it can cause issues with - the GPL license tha Mercurial is under. We don't import it, but we + the GPL license that Mercurial is under. We don't import it, but we avoid using it all the same. """ from flake8.main import application diff --git a/src/flake8/main/vcs.py b/src/flake8/main/vcs.py index da2f4ff..bf15395 100644 --- a/src/flake8/main/vcs.py +++ b/src/flake8/main/vcs.py @@ -12,7 +12,7 @@ from flake8.main import mercurial # NOTE(sigmavirus24): In the future, we may allow for VCS hooks to be defined # as plugins, e.g., adding a flake8.vcs entry-point. In that case, this # dictionary should disappear, and this module might contain more code for -# managing those bits (in conjuntion with flake8.plugins.manager). +# managing those bits (in conjunction with flake8.plugins.manager). _INSTALLERS = {"git": git.install, "mercurial": mercurial.install} diff --git a/src/flake8/options/config.py b/src/flake8/options/config.py index eaa2b4e..3dbaae7 100644 --- a/src/flake8/options/config.py +++ b/src/flake8/options/config.py @@ -30,7 +30,7 @@ class ConfigFileFinder(object): :param list extra_config_files: Extra configuration files specified by the user to read. :param str config_file: - Configuration file override to only read configuraiton from. + Configuration file override to only read configuration from. :param bool ignore_config_files: Determine whether to ignore configuration files or not. """ diff --git a/src/flake8/options/manager.py b/src/flake8/options/manager.py index d076862..09bf862 100644 --- a/src/flake8/options/manager.py +++ b/src/flake8/options/manager.py @@ -132,7 +132,7 @@ class Option(object): Number of arguments to parse for this option. :param const: Constant value to store on a common destination. Usually used in - conjuntion with ``action="store_const"``. + conjunction with ``action="store_const"``. :param iterable choices: Possible values for the option. :param str help: diff --git a/src/flake8/utils.py b/src/flake8/utils.py index e0c221a..8963011 100644 --- a/src/flake8/utils.py +++ b/src/flake8/utils.py @@ -79,7 +79,7 @@ def _tokenize_files_to_codes_mapping(value): def parse_files_to_codes_mapping(value_): # noqa: C901 # type: (Union[Sequence[str], str]) -> List[Tuple[str, List[str]]] - """Parse a files-to-codes maping. + """Parse a files-to-codes mapping. A files-to-codes mapping a sequence of values specified as `filenames list:codes list ...`. Each of the lists may be separated by |
