Taragolis opened a new pull request, #29190:
URL: https://github.com/apache/airflow/pull/29190

   Annoying error in local AWS Documentation build
   
   ```console
   ❯ breeze build-docs --package-filter apache-airflow-providers-amazon
   
   ==============================  apache-airflow-providers-amazon  
==============================
   ------------------------------ Error   1 ------------------------------
   Sphinx spellcheck returned non-zero exit status: 2.
   
   ------------------------------ Error   2 ------------------------------
   _api/airflow/providers/amazon/aws/utils/tags/index.rst:25: (wouldn)  the 
format here since it’s done by boto anyway, and the error wouldn’t be clearer 
if thrown from here.
   
   File path: 
apache-airflow-providers-amazon/_api/airflow/providers/amazon/aws/utils/tags/index.rst
   Incorrect Spelling: 'wouldn'
   Line with Error: 'the format here since it’s done by boto anyway, and the 
error wouldn’t be clearer if thrown from here.'
   Line Number: 25
     20 | .. py:function:: format_tags(source, *, key_label = 'Key', 
value_label = 'Value')
     21 | 
     22 |    If given a dictionary, formats it as an array of objects with a 
key and a value field to be passed to boto
     23 |    calls that expect this format.
     24 |    Else, assumes that it's already in the right format and returns it 
as is. We do not validate
   > 25 |    the format here since it's done by boto anyway, and the error 
wouldn't be clearer if thrown from here.
     26 | 
     27 |    :param source: a dict from which keys and values are read
     28 |    :param key_label: optional, the label to use for keys if not "Key"
     29 |    :param value_label: optional, the label to use for values if not 
"Value"
     30 | 
   
====================================================================================================
   ```
   
   Funnily enough there is no any error if I run
   ```console
   
   ❯ breeze build-docs --package-filter apache-airflow-providers-amazon 
--clean-build --spellcheck-only
   
   #################### Running spell checking of documentation 
####################
   
   apache-airflow-providers-amazon                             : Checking 
spelling started
   apache-airflow-providers-amazon                             : Finished 
spell-checking successfully
   apache-airflow-providers-amazon                             : Checking 
spelling completed
   Documentation build is successful
   ```
   
   Still don't know is it only me or related to 
https://github.com/sphinx-contrib/spelling/issues/126
   
   Seems like there this not affect CI however it isn't first time when CI 
Build Docs not reported all spelling errors.


-- 
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]

Reply via email to