Fix typos

This commit is contained in:
Albert Tugushev 2022-11-06 16:49:02 +01:00
parent ff8988bd58
commit 175c9ae3bc
3 changed files with 5 additions and 5 deletions

View file

@ -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__(

View file

@ -1,4 +1,4 @@
"""Functions for construcing the requested report plugin."""
"""Functions for constructing the requested report plugin."""
from __future__ import annotations
import argparse

View file

@ -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
"""