mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Fix typos
This commit is contained in:
parent
ff8988bd58
commit
175c9ae3bc
3 changed files with 5 additions and 5 deletions
|
|
@ -90,13 +90,13 @@ class FlakesChecker(pyflakes.checker.Checker):
|
|||
for exclude in self.exclude_from_doctest:
|
||||
if exclude != "" and filename.startswith(exclude):
|
||||
with_doctest = False
|
||||
overlaped_by = [
|
||||
overlapped_by = [
|
||||
include
|
||||
for include in included_by
|
||||
if include.startswith(exclude)
|
||||
]
|
||||
|
||||
if overlaped_by:
|
||||
if overlapped_by:
|
||||
with_doctest = True
|
||||
|
||||
super().__init__(
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
"""Functions for construcing the requested report plugin."""
|
||||
"""Functions for constructing the requested report plugin."""
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ _Logical = Tuple[List[str], List[str], _LogicalMapping]
|
|||
|
||||
|
||||
class FileProcessor:
|
||||
"""Processes a file and holdes state.
|
||||
"""Processes a file and holds state.
|
||||
|
||||
This processes a file by generating tokens, logical and physical lines,
|
||||
and AST trees. This also provides a way of passing state about the file
|
||||
|
|
@ -63,7 +63,7 @@ class FileProcessor:
|
|||
options: argparse.Namespace,
|
||||
lines: list[str] | None = None,
|
||||
) -> None:
|
||||
"""Initialice our file processor.
|
||||
"""Initialize our file processor.
|
||||
|
||||
:param filename: Name of the file to process
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue