mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 12:16:53 +00:00
Merge branch 'typo' into 'master'
Fix typos See merge request pycqa/flake8!392
This commit is contained in:
commit
2ab681a4be
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue