forked from dogancanbakir/pirebok
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (84 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
100 lines (84 loc) · 2.24 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
[project]
name = "pirebok"
dynamic = ["version"]
description = "a guided adversarial fuzzer with evolutionary search"
readme = "README.md"
license = "MIT"
requires-python = ">=3.13"
authors = [
{ name = "Doğan Can Bakır", email = "dogancanbakir@protonmail.com" },
{ name = "Happy Hacking Space", email = "team@happyhacking.space" },
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"click>=8.1",
"tqdm>=4.66",
]
[project.optional-dependencies]
guided = ["metamaska>=0.0.1"]
[project.urls]
Homepage = "https://github.com/HappyHackingSpace/pirebok"
Documentation = "https://happyhackingspace.github.io/pirebok"
Repository = "https://github.com/HappyHackingSpace/pirebok"
[project.scripts]
pirebok = "pirebok.cli:main"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "pirebok/_version.py"
[tool.hatch.build.targets.sdist]
include = ["pirebok/"]
[tool.hatch.build.targets.wheel]
packages = ["pirebok"]
[dependency-groups]
dev = [
"pytest>=9.0",
"pytest-cov>=6.0",
"ruff>=0.15.0",
"mypy>=1.19",
"pre-commit>=4.5",
"mkdocs>=1.6",
"mkdocs-include-markdown-plugin>=7.0",
"mkdocs-material>=9.6",
"mkdocstrings-python>=2.0",
"mkdocs-material-extensions>=1.3",
"mkdocs-autorefs>=1.4",
]
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E203", "E266"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"_version.py" = ["I001"]
[tool.ruff.lint.isort]
known-first-party = ["pirebok"]
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=pirebok --cov-branch --cov-report=term-missing"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"def main",
]