potiuk commented on a change in pull request #15176:
URL: https://github.com/apache/airflow/pull/15176#discussion_r606677094



##########
File path: docs/exts/docs_build/docs_builder.py
##########
@@ -255,69 +190,44 @@ def check_spelling(self, verbose: bool, dockerized: bool) 
-> List[SpellingError]
                 with open(filepath) as spelling_file:
                     warning_text += spelling_file.read()
 
-            spelling_errors.extend(parse_spelling_warnings(warning_text, 
self._src_dir, dockerized))
+            spelling_errors.extend(parse_spelling_warnings(warning_text, 
self._src_dir))
             console.print(f"[blue]{self.package_name:60}:[/] [red]Finished 
spell-checking with errors[/]")
         else:
             if spelling_errors:
                 console.print(
-                    f"[blue]{self.package_name:60}:[/] [yellow]Finished 
spell-checking " f"with warnings[/]"
+                    f"[blue]{self.package_name:60}:[/] [yellow]Finished 
spell-checkingwith warnings[/]"

Review comment:
       ```suggestion
                       f"[blue]{self.package_name:60}:[/] [yellow]Finished 
spell-checking with warnings[/]"
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to