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
We would like to force all of the Python files in our project (if and only if they contain other import statements) to contain from __future__ import absolute_import (or add absolute_import if it's missing in an already-existing __future__ import). A new setting for isort to instruct it to add absolute_import whenever needed would be a great feature.
The text was updated successfully, but these errors were encountered:
While adding the future import with the -a commandline flag is already possible, it would be nice if there would be an equivalent option for configfiles to validate that new files also include the appropriate imports.
We would like to force all of the Python files in our project (if and only if they contain other import statements) to contain
from __future__ import absolute_import
(or addabsolute_import
if it's missing in an already-existing__future__
import). A new setting for isort to instruct it to addabsolute_import
whenever needed would be a great feature.The text was updated successfully, but these errors were encountered: