-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypy.toml
72 lines (62 loc) · 1.61 KB
/
mypy.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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "oEmbedPy"
readme = "README.rst"
requires-python = ">=3.9"
license = {file = "LICENSE"}
authors = [{name = "Kazuya Takei", email = "[email protected]"}]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Utilities",
]
dependencies = [
"beautifulsoup4",
"httpx",
"lxml",
"platformdirs",
]
dynamic = ["version", "description"]
[project.optional-dependencies]
cli = ["Click>=8"]
[project.scripts]
"oEmbed.py" = "oembedpy.cli:main"
[project.urls]
Home = "https://github.com/attakei/oEmbedPy"
Documentation = "https://oembedpy.readthedocs.io/en/v0.7.2/"
[tool.uv]
dev-dependencies = [
"sphinx[test]",
"furo",
"sphinx-toolbox",
"rst-package-refs",
"pytest>=7",
"pytest-cov>=4",
"pytest-httpx>=0.21",
"pytest-mock>=3.14",
"mypy>=1.11.2",
]
[tool.flit.module]
name = "oembedpy"
[tool.pytest.ini_options]
addopts = "--cov=oembedpy -m 'not webtest'"
markers = [
"webtest: Marks to use real HTTP connection",
]
[tool.mypy]
exclude = 'conf\.py$'
[[tool.mypy.overrides]]
module = ['bs4', 'docutils', 'docutils.*']
ignore_missing_imports = true