Skip to content

Commit

Permalink
Add a Pylint disable
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Feb 25, 2024
1 parent 177be30 commit 20f8df2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/darker/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def flynt_present(present: bool) -> Generator[None, None, None]:
with _package_present("flynt", present) as fake_flynt_module:
if present:
# dummy module and function required by `fstring`:
# pylint: disable=no-member
fake_flynt_module.process = ModuleType("process") # type: ignore
fake_flynt_module.process.fstringify_code_by_line = None # type: ignore
yield

0 comments on commit 20f8df2

Please sign in to comment.