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
|
[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.7.2"
# https://medium.com/@cjolowicz/hypermodern-python-6-ci-cd-b233accfa2f6#bf20
importlib_metadata = {version = ">=1.6.0", python = "<3.8"}
[tool.poetry.dev-dependencies]
black = "*"
coverage = "*"
isort = "*"
mypy = "*"
pylint = "*"
pytest = "*"
ufo2ft = ">=2.7"
ufoLib2 = ">=0.4"
[tool.poetry.scripts]
statmake = "statmake.cli:main"
[tool.black]
target-version = ["py37"]
[tool.isort]
profile = "black"
known_first_party = "statmake"
[tool.mypy]
python_version = "3.7"
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",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
|