coherent-oss / pytest-flake8

pytest plugin to run flake8
MIT License
1 stars 1 forks source link

`pytest_collect_file` uses deprecated `path` #5

Open mtelka opened 1 day ago

mtelka commented 1 day ago

The path is deprecated since pytest 7 and so it should not be used.

https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path

mtelka commented 11 hours ago

I'm using this downstream.