-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
80 lines (69 loc) · 1.94 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
name = "review-bot"
version = "0.2.dev0"
description = "A Python library to automatically generate suggestions and improvements for patches in GitHub PRs by leveraging the power of OpenAI."
readme = "README.rst"
requires-python = ">=3.10,<4"
license = {file = "LICENSE"}
authors = [
{name = "ANSYS, Inc.", email = "[email protected]"},
]
maintainers = [
{name = "PyAnsys developers", email = "[email protected]"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"importlib-metadata>=4.0,<5; python_version<='3.8'",
"requests",
"openai>=1,<2",
"jsonschema",
"gitpython",
]
[project.optional-dependencies]
tests = [
"pytest==8.3.3",
"pytest-cov==6.0.0",
"pytest-retry==1.6.3",
"requests==2.32.3",
"openai==1.53.0",
"jsonschema==4.23.0",
"gitpython==3.1.43",
]
doc = [
"ansys_sphinx_theme[autoapi]==1.1.7",
"numpydoc==1.8.0",
"Sphinx==8.1.3",
"Sphinx-copybutton==0.5.2",
]
[project.scripts]
reviewbot = "review.bot.cli.cli:main"
[tool.flit.module]
name = "review.bot"
[project.urls]
Source = "https://github.com/ansys/review-bot"
Tracker = "https://github.com/ansys/review-bot/issues"
Homepage = "https://github.com/ansys/review-bot"
Documentation = "https://review-bot.docs.pyansys.com"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
force_sort_within_sections = true
line_length = 100
default_section = "THIRDPARTY"
src_paths = ["doc", "src", "tests"]
[tool.coverage.run]
source = ["review.bot"]
[tool.coverage.report]
show_missing = true