-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
91 lines (81 loc) · 2.08 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools>=62.6", "versioneer[toml]==0.28"]
build-backend = "setuptools.build_meta"
[project]
name = "donfig"
description = "Python package for configuring a python package"
maintainers = [{name = "David Hoese", email = "[email protected]"}]
license = {text = "MIT"}
keywords = ["task-scheduling parallel numpy pandas pydata"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
readme = "README.rst"
urls = {Homepage = "https://github.com/pytroll/donfig"}
requires-python = ">=3.8"
dependencies = [
"pyyaml",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
"cloudpickle",
]
docs = [
"sphinx>=4.0.0",
"numpydoc",
"pytest",
"cloudpickle",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages]
find = { namespaces = false }
[tool.mypy]
# Silence errors about Python 3.9-style delayed type annotations on Python 3.8
python_version = "3.9"
# See https://github.com/python/mypy/issues/12286 for automatic multi-platform support
platform = "linux"
# platform = win32
# platform = darwin
plugins = ["numpy.typing.mypy_plugin"]
allow_untyped_decorators = false
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
warn_unused_configs = true
[tool.black]
line-length = 120
exclude = '''
(
\.git
| build
| dist
| donfig/version\.py
)
'''
[tool.isort]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
profile = "black"
skip_gitignore = true
force_to_top = ["true"]
default_section = "THIRDPARTY"
known_first_party = ["donfig"]
skip = ["donfig/version.py"]
[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "donfig/version.py"
versionfile_build = "donfig/version.py"
tag_prefix = "v"
[tool.coverage.run]
omit = ["donfig/version.py", "versioneer.py"]