sunank200 commented on code in PR #51153:
URL: https://github.com/apache/airflow/pull/51153#discussion_r2137527213
##########
devel-common/src/sphinx_exts/docs_build/spelling_checks.py:
##########
@@ -71,17 +71,17 @@ def __lt__(self, other):
line_no_b: int = other.line_no or 0
context_line_a: str = self.context_line or ""
context_line_b: str = other.context_line or ""
- left: tuple[Path, int, int, str, str] = (
+ left: tuple[Path, int, str, str, str] = (
Review Comment:
It actually is throwing the following error and its a bug:
```
============================== task-sdk ==============================
Traceback (most recent call last):
File "/Users/sunank200/Documents/airflow/.venv/bin/build-docs", line 10,
in <module>
sys.exit(build_docs())
^^^^^^^^^^^^
File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/click/core.py",
line 1161, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/rich_click/rich_command.py",
line 166, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/click/core.py",
line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/sunank200/Documents/airflow/.venv/lib/python3.11/site-packages/click/core.py",
line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/sunank200/Documents/airflow/devel-common/src/docs/build_docs.py", line
728, in build_docs
print_build_errors_and_exit(
File
"/Users/sunank200/Documents/airflow/devel-common/src/docs/build_docs.py", line
428, in print_build_errors_and_exit
display_spelling_error_summary(spelling_errors)
File
"/Users/sunank200/Documents/airflow/devel-common/src/sphinx_exts/docs_build/spelling_checks.py",
line 157, in display_spelling_error_summary
for warning_no, error in enumerate(sorted(errors), 1):
^^^^^^^^^^^^^^
File
"/Users/sunank200/Documents/airflow/devel-common/src/sphinx_exts/docs_build/spelling_checks.py",
line 88, in __lt__
return left < right
^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'str' and 'int'
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]