-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
169 lines (157 loc) · 4.18 KB
/
pyproject.toml
File metadata and controls
169 lines (157 loc) · 4.18 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
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
158
159
160
161
162
163
164
165
166
167
168
169
[build-system]
requires = [
# base build requirements
"setuptools",
"wheel",
# required for build_docs in build.py
"sphinx",
"furo",
"myst-parser",
"sphinxcontrib-bibtex",
]
build-backend = "setuptools.build_meta"
[project]
name = "hypofuzz"
# see [tool.setuptools.dynamic]
dynamic = ["version"]
description = "Adaptive fuzzing for property-based tests"
readme = "README.md"
# custom license name. See https://spdx.github.io/spdx-spec/v2.2.2/other-licensing-information-detected/
# and https://peps.python.org/pep-0639/ (grep "custom license")
license = "LicenseRef-HypoFuzz"
license-files = ["LICENSE", "CONTRIBUTING.md"]
requires-python = ">=3.10"
authors = [
{name = "Zac Hatfield-Dodds", email = "zac@hypofuzz.com"}
]
keywords = ["python", "testing", "fuzzing", "property-based-testing"]
dependencies = [
"black>=23.3.0",
"coverage>=5.2.1",
"hypothesis[cli,watchdog]>=6.140.2",
"libcst>=1.0.0", # for hypothesis.extra._patching
"psutil>=3.0.0",
"pytest>=7.0.0",
"starlette",
"trio",
"hypercorn",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Hypothesis",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Testing",
]
[project.urls]
homepage = "https://hypofuzz.com/"
source = "https://github.com/Zac-HD/hypofuzz"
documentation = "https://hypofuzz.com/docs/"
changelog = "https://hypofuzz.com/docs/changelog.html"
# funding = "https://hypofuzz.com/pricing/"
[project.entry-points.hypothesis]
_ = "hypofuzz.entrypoint"
[tool.setuptools.package-data]
hypofuzz = [
# Making sure to include frontend/dist as well, for the bdist. Ideally we wouldn't include
# frontend/dist in the sdist because we expect that to be built from source anyway, but I
# think such a rule would require MANIFEST.in.
"frontend/**/*",
"docs/**/*"
]
[tool.setuptools.exclude-package-data]
hypofuzz = [
"frontend/node_modules/**/*",
"docs/dashboard_state/*",
]
[tool.setuptools.dynamic]
version = {attr = "hypofuzz.__version__"}
[tool.setuptools.cmdclass]
"build_py" = "hypofuzz.build.HypofuzzBuildPy"
"editable_wheel" = "hypofuzz.build.HypofuzzEditableWheel"
[tool.ruff.lint]
select = [
"ASYNC", # flake8-async
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"COM", # flake8-commas
"DJ", # flake8-django
"E", # pycodestyle
"F", # Pyflakes
"FBT", # flake8-boolean-trap
"FLY", # flynt
"G", # flake8-logging-format
"INT", # flake8-gettext
"ISC", # flake8-implicit-str-concat
"NPY", # NumPy-specific rules
"PD", # pandas-vet
"PIE", # flake8-pie
"PLE", # Pylint errors
"PLW", # Pylint warnings
"PT", # flake8-pytest-style
"RET504", # flake8-return
"RSE", # flake8-raise
"SIM", # flake8-simplify
"T10", # flake8-debugger
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
"RUF", # Ruff-specific rules
]
ignore = [
"B008",
"B018",
"C408",
"COM812",
"DJ007",
"DJ008",
"E721",
"E731",
"E741",
"FBT003",
"PD011",
"PIE790", # See https://github.com/astral-sh/ruff/issues/10538
"PT001",
"PT003",
"PT006",
"PT007",
"PT009",
"PT011",
"PT012",
"PT013",
"PT017",
"PT019",
"PT023",
"PT027",
"RUF017",
"SIM102",
"SIM105",
"SIM108",
"SIM114",
"SIM117",
"SIM300",
"UP031",
"UP037",
]
[tool.mypy]
python_version = "3.10"
platform = "linux"
allow_redefinition = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
follow_imports = "silent"
ignore_missing_imports = true
implicit_reexport = false
warn_no_return = true
warn_return_any = true
warn_unused_ignores = true
warn_unused_configs = true
warn_redundant_casts = true