ianbuss commented on PR #23535:
URL: https://github.com/apache/airflow/pull/23535#issuecomment-1127613683

   > Note that [`Path.absolute()` is considered 
unsupported](https://discuss.python.org/t/pathlib-absolute-vs-resolve/2573) and 
people are discouraged from using it. We should probably use some manual 
path-joining mechanism instead.
   
   @uranusjr Thanks for pointing this out! I have removed all instances of 
calling this API and verified that using `Path`'s `/` operator in the calling 
function ensures an absolute path (or at least a path nested under the initial 
root). I have updated the docstring of `_IgnoreRule` to make it clear it 
expects absolute paths.


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