[ruff] Add 'flake8-pathlib' disable the messages that need fixing later (#9602)

3 files changed