-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
93 lines (82 loc) · 1.81 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
[tool.poetry]
name = "statmake"
version = "0.6.0"
description = "Applies STAT information from a Stylespace to a variable font."
authors = ["Nikolaus Waxweiler <nikolaus.waxweiler@daltonmaag.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/daltonmaag/statmake"
include = ["py.typed"]
[tool.poetry.dependencies]
attrs = ">=21.3"
cattrs = ">=22.2"
fonttools = {version = ">=4.11", extras = ["ufo"]}
python = "^3.8"
[tool.poetry.dev-dependencies]
black = "*"
coverage = "*"
isort = "*"
mypy = "*"
pylint = ">=3"
pytest = "*"
ufo2ft = ">=2.7"
ufoLib2 = ">=0.4"
[tool.poetry.scripts]
statmake = "statmake.cli:main"
[tool.black]
target-version = ["py38"]
[tool.isort]
profile = "black"
known_first_party = "statmake"
[tool.mypy]
python_version = "3.8"
platform = "linux"
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = [
"fontTools.*",
"ufo2ft",
"ufoLib2",
"pytest",
"testutil",
"importlib_metadata",
"exceptiongroup",
"tomli",
]
ignore_missing_imports = true
[tool.pylint."MESSAGES CONTROL"]
disable = [
"all",
]
enable = [
"E",
"F",
"anomalous-backslash-in-string",
"bad-format-string",
"bad-open-mode",
"binary-op-exception",
"duplicate-key",
"global-variable-not-assigned",
"unnecessary-semicolon",
"unreachable",
"unused-variable",
"unused-import",
]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning:fs",
"ignore::DeprecationWarning:pkg_resources",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"