pytest-isort
pytest-isort copied to clipboard
py.test plugin to check import ordering using isort
```sh PytestRemovedIn8Warning: The (fspath: py.path.local) argument to IsortItem is deprecated. Please use the (path: pathlib.Path) argument instead. See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path super().__init__( ``` ```sh python3.9/site-packages/_pytest/nodes.py:664: PytestWarning: IsortItem is an Item subclass and...
It seems that when running `pytest-isort` with `pytest-xdist` the cache does not get populated (`.pytest_cache/.../v/isort/mtimes` is empty). This means that test are re-run on all files when using distributed test...
It seems that tools like pylint use ``[pylint] `` as the header of failed tests:  It would be excellent if pytest-isort could do it similarly instead of using ``isort-check``...
Hi! I noticed that the ```bash ERROR: Imports are incorrectly sorted. ``` "header" before an isort diff is shown has disappeared in pytest-isort output i.e. the filename associated with an...
Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...