-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.17 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[project]
name = "python-pkg-template"
version = "0.1.0"
description = "A Python Package Template"
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE.txt"}
authors = [
{email = "[email protected]", name = "Ben Eisner"}
]
dependencies = []
[build-system]
requires = [
"setuptools >= 62.3.2",
"setuptools-scm",
"wheel",
]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
develop = [
"autoflake == 2.1.1",
"black == 23.3.0",
"isort == 5.12.0",
"mypy == 1.3.0",
"pylint == 2.17.4",
"pytest == 7.3.2",
"pre-commit == 3.3.3",
]
notebooks = [
"jupyter",
]
build_docs = [
"mkdocs-material",
"mkdocstrings[python]",
]
# This is required to allow us to have notebooks/ at the top level.
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
python_pkg_template = ["py.typed"]
[tool.isort]
profile = "black"
[tool.mypy]
python_version = 3.8
warn_return_any = true
warn_unused_configs = true
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
# # Uncomment this when you have imports for mypy to ignore.
# [[tool.mypy.overrides]]
# module = [
# ]
# ignore_missing_imports = true