Skip to content

Commit

Permalink
Merge pull request #1733 from atugushev/type-fixes
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
asottile committed Nov 6, 2022
2 parents ff8988b + 175c9ae commit 5eeee3f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/flake8/plugins/pyflakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ def __init__(
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__(
Expand Down
2 changes: 1 addition & 1 deletion src/flake8/plugins/reporter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Functions for construcing the requested report plugin."""
"""Functions for constructing the requested report plugin."""
from __future__ import annotations

import argparse
Expand Down
4 changes: 2 additions & 2 deletions src/flake8/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


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
Expand Down Expand Up @@ -63,7 +63,7 @@ def __init__(
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
"""
Expand Down

0 comments on commit 5eeee3f

Please sign in to comment.