-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
87 lines (75 loc) · 2.16 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
[project]
name = "FontCollector"
description = "FontCollector for Advanced SubStation Alpha file."
authors = [
{ name = "moi15moi", email = "[email protected]" },
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"ass < 1",
"ass-tag-analyzer < 1",
"fontTools>=4.38.0, < 5",
"freetype-py>2, < 3",
"FindSystemFontsFilename>=0.3.0, < 1",
"langcodes>=3.4.1, < 4",
]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
]
dynamic = ["version"]
[project.scripts]
fontcollector = "font_collector.__main__:main"
[project.urls]
Source = "https://github.com/moi15moi/FontCollector/"
Tracker = "https://github.com/moi15moi/FontCollector/issues/"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = { attr = "font_collector._version.__version__" }
[tool.setuptools.packages.find]
include = ["font_collector*"]
[tool.mypy]
warn_unused_configs = true
warn_unused_ignores = false
strict = true
files = [
# TODO Add the tests folder
"font_collector"
]
[[tool.mypy.overrides]]
module = "ass.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "ass_tag_analyzer.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "find_system_fonts_filename.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fontTools.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "freetype.*"
ignore_missing_imports = true
[tool.coverage.report]
include = [
"font_collector/*",
]
exclude_also = [
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
]