You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @cielavenir! thanks for using flake8-builtins and taking the time to make this report!
You can use the --builtins-ignorelist ConnectionError command line option, or configuration option to ignore builtins that you consider safe to override 👍🏾
The source code
Raises
A004 import statement "ConnectionError" is shadowing a Python builtin
.I understand that ConnectionError is a builtin, which is a subclass of OSError. However,
ConnectionError
is quite widely used term.The more issue is, when we apply flake8-builtins in CI, we cannot make a new connection module which provides ConnectionError.
Can we have separate rules for such exception builtins?
/cc @felixvd @hemangandhi @ntohge
The text was updated successfully, but these errors were encountered: