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
I think modification of sys.path is a bad practice because it breaks type checking, code completion, code highlighting, etc.
Therefore, I would like to ban it in my team, but I could not find a rule to check it.
If such a rule does not already exist, please consider adding a rule prohibiting changes to sys.path.
For my purpose, these codes should be prohibited with a few exceptions.
sys.path.append(...)
sys.path.extend(...)
sys.path = ...
etc.
Thank you very much.
The text was updated successfully, but these errors were encountered:
Description
I think modification of
sys.path
is a bad practice because it breaks type checking, code completion, code highlighting, etc.Therefore, I would like to ban it in my team, but I could not find a rule to check it.
If such a rule does not already exist, please consider adding a rule prohibiting changes to
sys.path
.For my purpose, these codes should be prohibited with a few exceptions.
sys.path.append(...)
sys.path.extend(...)
sys.path = ...
Thank you very much.
The text was updated successfully, but these errors were encountered: