-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (50 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
56 lines (50 loc) · 1.3 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
[build-system]
requires = [
"hatchling",
"setuptools",
"setuptools_scm[toml]>=6.0",
"build",
]
build-backend = "hatchling.build"
[project]
name = "pygments_tsx"
license = "CC-BY-NC-ND-4.0"
authors = [
{ name="Jason Nichols", email="github@startupos.dev" },
{ name="Sean Conrad", email="github@startupos.dev"}
]
description = "A plugin for adding TSX support to Pygments based off the work of the JSX plugin."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: JavaScript",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development",
"Topic :: Text Editors"
]
dependencies = [
"jsx-lexer==2.0.1",
"Pygments>=2.19.2",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pytest>=8,<10",
"pytest-cov>=4.1,<8.0",
"flake8~=7.0",
]
[project.urls]
"Homepage" = "https://github.com/StartupOS/pygments_tsx"
"Bug Tracker" = "https://github.com/StartupOS/pygments_tsx/issues"
"Source" = "https://github.com/StartupOS/pygments_tsx"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
[tool.hatch.version]
path = "VERSION.py"
# [project.entry-points."pygments.lexers"]
# jsx="tsx:JsxLexer"
# tsx="tsx:TypeScriptXLexer"