forked from jupyter-server/jupyter_releaser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (95 loc) · 2.39 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
99
100
101
102
103
104
105
[build-system]
requires = ["hatchling>=1.0"]
build-backend = "hatchling.build"
[project]
name = "jupyter_releaser"
description = "Jupyter Releaser for Python and/or npm packages."
license = {file = "LICENSE"}
authors = [{name = "Jupyter Development Team", email = "[email protected]"}]
keywords = ["ipython", "jupyter"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
urls = {Homepage = "https://jupyter.org"}
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"click",
"ghapi",
"github-activity~=0.2",
"importlib_resources",
"jsonschema>=3.0.1",
"packaging",
"pkginfo",
"pytest-check-links>=0.7",
"pypiserver",
"pipx",
"requests",
"requests_cache",
"toml~=0.10",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
test = [
"coverage",
"fastapi",
"pre-commit",
"pytest>=7.0",
"pytest-cov",
"pytest-mock",
"uvicorn"
]
[project.scripts]
jupyter-releaser = "jupyter_releaser.cli:main"
[tool.hatch.version]
path = "jupyter_releaser/__init__.py"
[tool.jupyter-releaser]
skip = ["check-links"]
[tool.jupyter-releaser.hooks]
after-draft-release = "bash ./.github/scripts/bump_tag.sh"
[tool.pytest.ini_options]
addopts = "-raXs --durations 10 --color=yes --doctest-modules"
testpaths = [
"jupyter_releaser/tests/"
]
filterwarnings= [
# Fail on warnings
"error",
"ignore:Using deprecated setup.py invocation:UserWarning",
"module:Neither GITHUB_TOKEN nor GITHUB_JWT_TOKEN found:UserWarning",
]
[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 = [
"toml.*",
"jsonschema",
"ghapi.*",
"github_activity",
"pkginfo",
"pypandoc",
]
ignore_missing_imports = true