-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
26 lines (21 loc) · 872 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# https://black.readthedocs.io/en/stable/usage_and_configuration/index.html
[tool.black]
line-length=120
# https://pycqa.github.io/isort/docs/configuration/options.html
[tool.isort]
profile="black"
line_length="120"
skip=["__init__.py"] # can be removed later on when changing order in __init__.py does not cause circular import
filter_files="true"
# optional parameters that make imports more readable
sections="FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
# Import comment messages
import_heading_future="Future Imports"
import_heading_stdlib="Python Standard Library Imports"
import_heading_thirdparty="Other Third Party Imports"
import_heading_firstparty="First Party Imports"
import_heading_folder="Local Folder Imports"
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]