From e0ba8f5d38d7f22b3f2ca11efce7f5403b62f859 Mon Sep 17 00:00:00 2001 From: Stephen Brown II Date: Thu, 2 Jan 2020 17:28:13 -0700 Subject: Add ensure_newline_before_comments to black profile Since #1000 was merged to address black compatibility, best include it in the profile. --- isort/profiles.py | 1 + 1 file changed, 1 insertion(+) diff --git a/isort/profiles.py b/isort/profiles.py index 669c8277..1210c8ef 100644 --- a/isort/profiles.py +++ b/isort/profiles.py @@ -6,6 +6,7 @@ black = { "include_trailing_comma": True, "force_grid_wrap": 0, "use_parentheses": True, + "ensure_newline_before_comments": True, } django = { "combine_as_imports": True, -- cgit v1.2.1 From 59cd74a0c0eb1447295812e07dbc834c300e2ee6 Mon Sep 17 00:00:00 2001 From: Stephen Brown II Date: Thu, 2 Jan 2020 17:58:28 -0700 Subject: Update cruft --- .cruft.json | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cruft.json b/.cruft.json index 37fced16..267b8fcb 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/timothycrosley/cookiecutter-python/", - "commit": "2d559dc6413338a6ee05f4239039a88a17e7d2a9", + "commit": "5f2c774c99969c8483d7f329e38db5b1a7fc5050", "context": { "cookiecutter": { "full_name": "Timothy Crosley", diff --git a/pyproject.toml b/pyproject.toml index fd6d075e..9b7ba816 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ vulture = "^1.0" bandit = "^1.6" safety = "^1.8" flake8-bugbear = "^19.8" -black = {version = "^18.3-alpha.0", allows-prereleases = true} +black = {version = "^18.3-alpha.0", allow-prereleases = true} mypy = "^0.730.0" ipython = "^7.7" pytest = "^5.0" -- cgit v1.2.1