Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (62 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (62 loc) · 1.85 KB
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 = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "cliff-python"
version = "0.2.0"
description = "Official Python parser, serializer, validator and converter for CLIFF 1.0 / 1.1 (import name: cliff_format)"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "CLIFF contributors" }]
keywords = ["localization", "i18n", "l10n", "cliff", "translation", "parser"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup",
]
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"ruff>=0.4",
"mypy>=1.8",
# The YAML converter is optional at runtime but exercised by the tests.
"PyYAML>=6.0",
]
yaml = ["PyYAML>=6.0"]
converters = [
"PyYAML>=6.0",
]
[project.scripts]
cliff-format = "cliff_format.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
cliff_format = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.11"
files = ["src/cliff_format"]
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
no_implicit_optional = true
[project.urls]
Repository = "https://github.com/cliff-format/cliff-python"
Issues = "https://github.com/cliff-format/cliff-python/issues"
Changelog = "https://github.com/cliff-format/cliff-python/blob/main/CHANGELOG.md"