-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (47 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
54 lines (47 loc) · 1.37 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
[tool.poetry]
name = "checksec-py"
version = "0.7.5"
description = "Checksec tool implemented in Python"
authors = ["Mathieu Tarral <mathieu.tarral@protonmail.com>"]
readme = "README.md"
packages = [{ include = "checksec" }]
license = "GPL-3.0-only"
repository = "https://github.com/Wenzel/checksec.py"
keywords = ["checksec", "security", "ELF", "PE", "binary"]
[tool.poetry.scripts]
checksec = 'checksec.__main__:entrypoint'
[tool.poetry.dependencies]
python = ">=3.10,<3.14.0"
lief = "0.17.2"
docopt = "0.6.2"
rich = "^14.0.0"
pylddwrap = "^1.2.2"
[tool.poetry.group.dev.dependencies]
flake8 = "5.0.4"
flake8-bugbear = "21.11.29"
isort = "6.0.1"
black = "25.1.0"
mypy = "1.16.1"
pytest = "8.4.1"
coverage = { version = "7.9.2", extras = ["toml"] }
poethepoet = "0.36.0"
pyinstaller = "6.14.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.coverage.run]
# measure branch coverage in addition to statement coverage
branch = true
[tool.poe.tasks]
fmt = "black ."
flake8 = "flake8 --show-source --statistics"
isort = "isort --line-length 120 --profile black ."
lint = ["flake8", "isort"]
mypy = "mypy ."
type = ["mypy"]
cov_combine = "coverage combine"
cov_report = "coverage report"
run_test_e2e = "coverage run --concurrency=multiprocessing -m pytest -v -k e2e"
test_e2e = ["run_test_e2e", "cov_combine", "cov_report"]