line-too-long
(E501
) - false positive on import statements from long module names where it's impossible to fix
#15236
Labels
rule
Implementing or modifying a lint rule
if a line contains an import statement from a very long module path, it triggers
E501
, even though there's no way to fix it as far as i know:https://play.ruff.rs/93d32aef-cefb-41f2-8205-e05bbea8ba28?secondary=Format
ruff should be able to determine that this situation is unavoidable and therefore should not report the error. it already does this in some cases for example comments/docstrings with long URLs
The text was updated successfully, but these errors were encountered: