-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
102 lines (89 loc) · 2.57 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
94
95
96
97
98
99
100
101
102
[project]
name = "fluent-compiler"
description = "Blazing fast implementation of Fluent localization language."
license = {text = "APL 2"}
authors = [
{ name = "Luke Plant", email = "[email protected]" }
]
requires-python = ">=3.8"
keywords = [
"fluent",
"localization",
"l10n",
"compiler",
"projectfluent",
"ftl",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
]
dynamic = ["version"]
dependencies = [
"attrs>=19.3.0",
"babel>=2.12.0",
"fluent-syntax>=0.14",
"pytz>=2025.2",
]
[project.urls]
Homepage = "https://github.com/django-ftl/fluent-compiler"
Documentation = "https://fluent-compiler.readthedocs.io/en/latest/"
Repository = "https://github.com/django-ftl/fluent-compiler"
Changelog = "https://fluent-compiler.readthedocs.io/en/latest/history.html"
Tracker = "https://github.com/django-ftl/fluent-compiler/issues"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.setuptools.dynamic]
version = {attr = "fluent_compiler.__version__"}
[tool.black]
line-length = 120
# required-version = '22.3.0' # see https://github.com/psf/black/issues/2493
target-version = ['py39']
[tool.ruff]
line-length = 120
target-version = 'py37'
[tool.ruff.lint]
ignore = ["E501","E731"]
extend-select = [
"UP", # enable pyupgrade
"I", # enable isort
"FLY", # enable flynt
]
[tool.ruff.lint.isort]
known-first-party = ["fluent_compiler"]
[dependency-groups]
dev = [
"ast-decompiler>=0.8",
"beautifulsoup4>=4.7.1",
"hypothesis>=4.9.0",
"markdown>=3.0.1",
"markupsafe>=1.1.1",
"pre-commit>=3.5.0",
"pytest>=7.4.4",
"tox-uv>=1.13.1",
"tox>=4.25.0",
]