forked from microsoft/codamosa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
157 lines (144 loc) · 3.56 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# SPDX-FileCopyrightText: 2019–2022 Pynguin Contributors, Microsoft
#
# SPDX-License-Identifier: MIT
[tool.poetry]
name = "pynguin"
version = "0.19.0"
description = "A tool to conduct LLM-aided search-based unit test generation"
authors = ["Caroline Lemieux", "Stephan Lukasczyk <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/microsoft/codamosa"
keywords = [
"unit test",
"random testing",
"search based",
"test generation",
"codex",
"large language models"
]
classifiers = [
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Education :: Testing",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Unit",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.10"
simple-parsing = "^0.0.18"
bytecode = "^0"
typing_inspect = "^0"
jellyfish = "^0"
networkx = {extras = ["pydot"], version = "^2"}
pydot = "^1.4"
rich = "^12.0"
pytest = "^7.1"
Jinja2 = "^3.0"
Pygments = "^2.11"
ordered-set = "^4.1"
MutPy-Pynguin = "^0.7.1"
typed-ast = "^1.5.3"
colorama = "^0.4.4"
colorlog = "^6.6.0"
requests = "^2.31.0"
stubs = "^1.0.0"
types-requests = "^2.27.25"
tqdm = "^4.64.0"
certifi = "2023.7.22"
gitpython = "3.1.32"
dparse = "0.5.2"
[tool.poetry.dev-dependencies]
coverage = "^6.3"
pytest = "^7.1"
black = "^22.1"
pytest-cov = "^3.0"
pylint = "^2.12"
pytest-sugar = "^0.9"
pytest-picked = "^0.4"
pytest-xdist = "^2.5"
hypothesis = "^6.36"
pytest-mock = "^3.7"
mypy = "^0.940"
isort = {extras = ["pyproject"], version = "^5.10"}
pre-commit = "^2.17"
darglint = "^1.8"
pyupgrade = "^2.31"
bandit = "^1.7"
safety = "^1.10"
sphinx = "^4.4"
sphinx-autodoc-typehints = "^1.16"
flake8 = "^4.0"
[tool.poetry.scripts]
pynguin = "pynguin.cli:main"
[tool.black]
line-length = 88
target_version = ['py310']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.pytest_cache
| \.mypy_cache
| \.venv
| venv
| _build
| build
| dist
| pynguin.egg-info
)/
)
'''
[tool.coverage.run]
branch = true
source = ["pynguin", "tests"]
omit = ["tests/fixtures/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:"
]
[tool.coverage.html]
directory = "cov_html"
[tool.isort]
line_length=88
multi_line_output=3
include_trailing_comma=true
indent=' '
[tool.mypy]
check_untyped_defs = true
ignore_errors = false
ignore_missing_imports = true
strict_optional = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
[tool.pytest.ini_options]
minversion = "6.0.0rc1"
# Always using Coverage.py disables debugging.
# addopts = "--cov=pynguin --cov-branch --cov-report html:cov_html --cov-report=term-missing"
testpaths = [
"tests",
]
# A lot of our own classes start with Test so pytest will pick them up during test collection.
# But they don't actually contains tests, so we set an empty matcher for the class name.
python_classes = ''
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"