Skip to content

Commit 4e638fb

Browse files
committed
fix: correct lint suppression comments
1 parent 068128b commit 4e638fb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/SeleniumLibrary/keywords/screenshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def _embed_to_log_as_file(self, path, width):
266266
)
267267

268268
@keyword
269-
def print_page_as_pdf( # noqa : PLR0912 C901
269+
def print_page_as_pdf( # noqa: PLR0912 C901
270270
self,
271271
filename: str = DEFAULT_FILENAME_PDF,
272272
background: bool | None = None,

tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def project_docs(ctx):
109109
"docs/index.html",
110110
]
111111
publish_cmdline(writer_name="html5", argv=args)
112-
print(Path(args[-1]).absolute()) # noqa : T201
112+
print(Path(args[-1]).absolute()) # noqa: T201
113113

114114

115115
@task
@@ -132,13 +132,13 @@ def set_version(ctx, version):
132132
"""
133133
version = Version(version, VERSION_PATH, VERSION_PATTERN)
134134
version.write()
135-
print(version) # noqa : T201
135+
print(version) # noqa: T201
136136

137137

138138
@task
139139
def print_version(ctx):
140140
"""Print the current project version."""
141-
print(Version(path=VERSION_PATH)) # noqa : T201
141+
print(Version(path=VERSION_PATH)) # noqa: T201
142142

143143

144144
@task

0 commit comments

Comments
 (0)