Sort imports for optional third-party libraries.

These libraries aren't always installed in the virtual environment where
isort is running. Declaring them properly avoids mixing these
third-party imports with local imports.
This commit is contained in:
Aymeric Augustin committed 2019-12-22 11:19:13 +01:00
1 parent 2a34d5b71b
commit c11b3e2926
10 files changed
+28 -16

No files matched your search

+1 -2
View File
@@ -20,11 +20,10 @@ import logging
import os
import socket
import git
import numpy as np
import torch
import git
logging.basicConfig(
format="%(asctime)s - %(levelname)s - %(name)s - PID: %(process)d - %(message)s",