Skip to content

Commit

Permalink
Use Black profile
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Oct 2, 2020
1 parent b2903e7 commit c9f425b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ def allow_module(module_name):
from TreeObjectWrapper import TreeObjectWrapper # noqa

# make ZopeTree module accessible from PythonScript and ZPT
from ZopeTree import Node, ZopeTree # noqa #isort:skip
from ZopeTree import Node, ZopeTree # noqa

allow_module("Products.ZopeTree")
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[build-system]
requires = ["setuptools>=41.6.0", "wheel"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"

[tool.isort]
profile = "black"
5 changes: 1 addition & 4 deletions src/Products/ZopeTree/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
"""
isort:skip
"""
#
# ZopeTree
#
Expand All @@ -18,6 +15,6 @@
from Products.ZopeTree.TreeObjectWrapper import TreeObjectWrapper # noqa

# make ZopeTree module accessible from PythonScript and ZPT
from Products.ZopeTree.ZopeTree import Node, ZopeTree # noqa # isort:skip
from Products.ZopeTree.ZopeTree import Node, ZopeTree # noqa

allow_module("Products.ZopeTree")

0 comments on commit c9f425b

Please sign in to comment.