Skip to content

Commit

Permalink
Blacken and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Sep 12, 2023
1 parent 8c8ee3a commit 1554d21
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# See https://setuptools.readthedocs.io/en/latest/build_meta.html
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"

[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]

[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
reverse_relative = true
24 changes: 12 additions & 12 deletions selventa_knowledge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@
from pybel.repository import BELMetadata, BELRepository

__all__ = [
'repository',
'metadata',
'get_graph',
'get_graphs',
'get_summary_df',
'main',
"repository",
"metadata",
"get_graph",
"get_graphs",
"get_summary_df",
"main",
]

HERE = os.path.dirname(__file__)
VERSION = '20150611'
VERSION = "20150611"

# All metadata is grouped here
metadata = BELMetadata(
name='Selventa Corpora',
name="Selventa Corpora",
version=VERSION,
authors='Selventa',
contact='support@belframework.org',
authors="Selventa",
contact="support@belframework.org",
description="Selventa Large and Small Corpora.",
license='Creative Commons Attribution-Non-Commercial-ShareAlike 3.0 Unported License',
copyright='Copyright (c) 2011-2015, Selventa. All Rights Reserved.',
license="Creative Commons Attribution-Non-Commercial-ShareAlike 3.0 Unported License",
copyright="Copyright (c) 2011-2015, Selventa. All Rights Reserved.",
)

repository = BELRepository(
Expand Down
2 changes: 1 addition & 1 deletion selventa_knowledge/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

from . import main

if __name__ == '__main__':
if __name__ == "__main__":
main()

0 comments on commit 1554d21

Please sign in to comment.