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
> black --safe -S --diff .
import time
import numpy as np
import pandas
import scipy.sparse as sp
+
# from sklearn.grid_search import GridSearchCV
from sklearn.linear_model import ElasticNet, ElasticNetCV, enet_path
I have the same issue, black adds a space before that commented out import, but isort does not like that space and removes it ... like so:
import time
import numpy as np
import pandas
import scipy.sparse as sp
# from sklearn.grid_search import GridSearchCV
from sklearn.linear_model import ElasticNet, ElasticNetCV, enet_path
isort config:
Howdy! Sorry you're having trouble. To expedite your experience,
provide some basics for me:
Operating system: Ubuntu 16.04.6 LTS
Python version: 3.7.2
Black version: 19.3b0
Does also happen on master: yes
To answer the last question, you have two options:
pip install -e .
;python setup.py test
; andblack
like you did last time.The text was updated successfully, but these errors were encountered: