ruff
a934d01b - [`flake8-tidy-imports`] extend autofix of relative imports (#2990)

Commit
3 years ago
[`flake8-tidy-imports`] extend autofix of relative imports (#2990) This extends the autofix for TID252 to work with for relative imports without `module` (i.e. `from .. import`). Tested with `matplotlib` and `bokeh`. (Previously it would panic on unwrap of the module) Note that pandas has [replaced](https://github.com/pandas-dev/pandas/commit/6057d7a93e6bb792508339dcf8e70998e7e78e1a) `absolufy-imports` with `ruff` now!
Author
Parents
Loading