ruff
08fc9b80 - ICN001 check from imports that have no alias (#2072)

Commit
2 years ago
ICN001 check from imports that have no alias (#2072) Add tests. Ensure that these cases are caught by ICN001: ```python from xml.dom import minidom from xml.dom.minidom import parseString ``` with config: ```toml [tool.ruff.flake8-import-conventions.extend-aliases] "dask.dataframe" = "dd" "xml.dom.minidom" = "md" "xml.dom.minidom.parseString" = "pstr" ```
Author
Parents
Loading