New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format code with black #364
Conversation
A diff --git a/doorstop/core/exporter.py b/doorstop/core/exporter.py
index a225d3c..4aef12d 100644
--- a/doorstop/core/exporter.py
+++ b/doorstop/core/exporter.py
@@ -7,9 +7,9 @@ import datetime
import os
from collections import defaultdict
-import openpyxl
import yaml
+import openpyxl
from doorstop import common, settings
from doorstop.common import DoorstopError
from doorstop.core.types import iter_documents, iter_items
diff --git a/doorstop/core/importer.py b/doorstop/core/importer.py
index fb4db93..77598b8 100644
--- a/doorstop/core/importer.py
+++ b/doorstop/core/importer.py
@@ -8,7 +8,6 @@ import re
import warnings
import openpyxl
-
from doorstop import common, settings
from doorstop.common import DoorstopError
from doorstop.core.builder import _get_tree
diff --git a/doorstop/core/publisher.py b/doorstop/core/publisher.py
index 4f798f3..5e3dab8 100644
--- a/doorstop/core/publisher.py
+++ b/doorstop/core/publisher.py
@@ -6,11 +6,11 @@ import os
import tempfile
import textwrap
-import bottle
import markdown
-from bottle import template as bottle_template
from plantuml_markdown import PlantUMLMarkdownExtension
+import bottle
+from bottle import template as bottle_template
from doorstop import common, settings
from doorstop.common import DoorstopError
from doorstop.core import Document
diff --git a/doorstop/core/tests/test_all.py b/doorstop/core/tests/test_all.py
index c86db94..8f90323 100644
--- a/doorstop/core/tests/test_all.py
+++ b/doorstop/core/tests/test_all.py
@@ -13,9 +13,9 @@ import tempfile
import unittest
from unittest.mock import Mock, patch
-import openpyxl
import yaml
+import openpyxl
from doorstop import common, core
from doorstop.common import DoorstopError, DoorstopInfo, DoorstopWarning
from doorstop.core.builder import _clear_tree, _get_tree
diff --git a/doorstop/server/main.py b/doorstop/server/main.py
index b422bd0..1d4fdb3 100644
--- a/doorstop/server/main.py
+++ b/doorstop/server/main.py
@@ -11,7 +11,6 @@ from collections import defaultdict
import bottle
from bottle import get, hook, post, request, response, template
-
from doorstop import build, common, publisher, settings
from doorstop.common import HelpFormatter
from doorstop.core import vcs My Python version is 3.6.5. It would be bad if the output of the formatter depends on the host operating system. |
It shouldn't depend on the Python or OS version. Did you run |
It is quite strange, when I do the
When I do it on the extended-reviewed branch I get:
The patch doesn't touch any of the reformatted files. The extended-reviewed history is:
|
Maybe you need to rebase your branch on |
Hm, sorry for the trouble. I thought that I did a rebase a couple of minutes ago, but apparently I missed the commit from today. Time to go into the weekend. |
No description provided.