-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
38 lines (31 loc) · 981 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
27
28
29
30
31
32
33
34
35
36
37
38
# pyproject.toml main python packaging configuration
[build-system]
# setup with setuptools and setuptools_scm (git automatic versioning)
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2", "pybind11>=2.10.0"]
build-backend = "setuptools.build_meta"
# Tools configuration supporting pyproject.toml
[tool.setuptools_scm]
# Enable version inference: https://pypi.org/project/setuptools-scm/#description
[tool.black]
# https://github.com/psf/black
line-length = 80
exclude = "(.eggs|.git|.mypy_cache|.nox|.tox|_build|build|dist|venv)"
[tool.isort]
# https://github.com/PyCQA/isort
profile = 'black'
line_length = 80
[tool.mypy]
no_implicit_optional = false
strict_optional = false
allow_redefinition = true
allow_untyped_globals = true
local_partial_types = false
warn_unused_ignores = true
check_untyped_defs = true
ignore_missing_imports = true
disable_error_code = 'attr-defined'
[[tool.mypy.overrides]]
module = [
'setuptools',
]
ignore_missing_imports = true