forked from jupyter/jupyter_core
/
pyproject.toml
98 lines (86 loc) · 2.41 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
92
93
94
95
96
97
98
[build-system]
requires = ["hatchling>=1.4"]
build-backend = "hatchling.build"
[project]
name = "jupyter_core"
description = "Jupyter core package. A base package on which Jupyter projects rely."
license = { file = "COPYING.md" }
classifiers = [
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3"
]
requires-python = ">=3.8"
dependencies = [
"platformdirs",
"traitlets",
"pywin32>=1.0 ; sys_platform == 'win32' and platform_python_implementation != 'PyPy'"
]
dynamic = ["version"]
[[project.authors]]
name = "Jupyter Development Team"
email = "jupyter@googlegroups.org"
[project.readme]
text = "There is no reason to install this package on its own."
content-type = "text/plain"
[project.urls]
Homepage = "https://jupyter.org"
Documentation = "https://jupyter-core.readthedocs.io/"
Funding = "https://numfocus.org/"
Source = "https://github.com/jupyter/jupyter_core"
Tracker = "https://github.com/jupyter/jupyter_core/issues"
[project.optional-dependencies]
test = [
"ipykernel",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-timeout"
]
[project.scripts]
jupyter = "jupyter_core.command:main"
jupyter-migrate = "jupyter_core.migrate:main"
jupyter-troubleshoot = "jupyter_core.troubleshoot:main"
[tool.hatch.version]
path = "jupyter_core/version.py"
[tool.hatch.build.force-include]
"./jupyter.py" = "jupyter.py"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = false
disallow_incomplete_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
no_implicit_reexport = false
pretty = true
show_error_context = true
show_error_codes = true
strict_equality = true
strict_optional = true
warn_unused_configs = true
warn_redundant_casts = true
warn_return_any = false
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"traitlets.*",
"jupyter_core.*",
"ipykernel",
"entrypoints"
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-raXs --durations 10 --color=yes --doctest-modules --ignore-glob=jupyter_core/tests/dotipython*"
testpaths = [
"jupyter_core/tests/"
]
filterwarnings= [
# Fail on warnings
"error",
# Expected internal warnings
"module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",
]