-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.69 KB
/
pyproject.toml
File metadata and controls
104 lines (92 loc) · 2.69 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "lafleur"
version = "0.1.0"
authors = [
{name="Daniel Diniz"},
]
description = "A feedback-driven JIT fuzzer for CPython."
requires-python = ">=3.14"
readme = "README.md"
license = "GPL-2.0-only" # Use the standard SPDX identifier
license-files = ["LICEN[CS]E.*"]
keywords = ["fuzzing", "fuzzer", "cpython", "jit", "ast"]
dependencies = [
"psutil>=5.9.0",
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Intended Audience :: Developers",
"Environment :: Console",
"Operating System :: OS Independent",
"Natural Language :: English",
]
[project.urls]
Homepage = "https://github.com/devdanzin/lafleur"
#Documentation = "https://readthedocs.org"
Repository = "https://github.com/devdanzin/lafleur.git"
Issues = "https://github.com/devdanzin/lafleur/issues"
Changelog = "https://github.com/devdanzin/lafleur/blob/main/CHANGELOG.md"
[project.scripts]
lafleur = "lafleur.orchestrator:main"
lafleur-jit-tweak = "lafleur.jit_tuner:main"
lafleur-report = "lafleur.report:main"
lafleur-campaign = "lafleur.campaign:main"
lafleur-triage = "lafleur.triage:main"
lafleur-driver = "lafleur.driver:main"
lafleur-lineage = "lafleur.lineage:main"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = false
disallow_incomplete_defs = false
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_decorators = false
disallow_untyped_defs = false
follow_imports = "silent"
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
warn_redundant_casts = true
warn_return_any = false
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".git",
".git-rewrite",
".mypy_cache",
".ruff_cache",
".venv",
".vscode",
"build",
"dist",
"venv",
]
line-length = 100
indent-width = 4
# Assume Python 3.14
target-version = "py314"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# TODO: select codes that make sense for lafleur
select = ["E4", "E7", "E9", "F", "I"]
ignore = []
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
# Prevent pytest from looking into cpython-src or other build artifacts
norecursedirs = ["cpython-src", ".git", "build", "dist", "venv"]
testpaths = ["tests"]