generated from pamelafox/pytest-axe-playwright-snapshot
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
61 lines (53 loc) · 1.3 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
[project]
name = "openai-messages-token-helper"
description = "A helper library for estimating tokens used by messages sent through OpenAI Chat Completions API."
version = "0.1.10"
authors = [{name = "Pamela Fox"}]
requires-python = ">=3.9"
readme = "README.md"
license = {file = "LICENSE"}
dependencies = [
"openai",
"tiktoken",
"pillow"
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Pytest"
]
[project.urls]
Home = "https://github.com/pamelafox/openai-messages-token-helper"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pre-commit",
"ruff",
"black",
"flit",
"azure-identity",
"python-dotenv",
"mypy"
]
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.ruff]
line-length = 120
target-version = "py39"
output-format = "full"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["D203", "E501"]
[tool.black]
line-length = 120
target-version = ["py39"]
[tool.pytest.ini_options]
addopts = "-ra --cov"
[tool.coverage.report]
show_missing = true