-
Notifications
You must be signed in to change notification settings - Fork 279
/
pyproject.toml
104 lines (92 loc) · 2.76 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
103
104
[build-system]
requires = ["setuptools>=65.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "emoji"
description = "Emoji for Python"
readme = "README.rst"
requires-python = ">=3.7"
authors = [
{ name = "Taehoon Kim", email = "[email protected]" },
{ name = "Kevin Wurster", email = "[email protected]" },
]
keywords = ["emoji"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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 :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Multimedia :: Graphics :: Presentation",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = ["typing_extensions >= 4.7.0; python_version < '3.9'"]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/carpedm20/emoji/"
repository = "https://github.com/carpedm20/emoji/"
[project.optional-dependencies]
dev = ["pytest>=7.4.4", "coverage"]
[tool.setuptools.packages.find]
include = ["emoji*"]
[tool.setuptools.package-data]
emoji = ["py.typed", "unicode_codes/emoji.json", "unicode_codes/emoji_*.json"]
[tool.setuptools.dynamic]
version = { attr = "emoji.__version__" }
[tool.pytest.ini_options]
pythonpath = [".", "utils"]
testpaths = ["tests"]
[tool.pyright]
pythonVersion = "3.7"
pythonPlatform = "All"
typeCheckingMode = "strict"
extraPaths = ["utils"]
exclude = [
"**/__pycache__",
".git",
".venv",
"build",
"utils/gh-pages",
"utils/generate_emoji.py",
"utils/generate_emoji_translations.py",
"utils/generateutils.py",
]
[tool.ruff]
line-length = 88
[tool.ruff.format]
quote-style = "single"
exclude = [
"utils/generate_emoji.py",
"utils/generate_emoji_translations.py",
"utils/generateutils.py",
]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B", "Q"]
ignore = ["Q000", "Q003"]
[tool.tox]
legacy_tox_ini = """
[tox]
minversion = 4.15.0
[testenv]
description = Run the tests with pytest
package = wheel
wheel_build_env = .pkg
changedir = tests
deps =
pytest>=6
commands =
pytest {tty:--color=yes} --basetemp="{envtmpdir}" {posargs}
"""