-
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (81 loc) · 2.3 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
[project]
name = "blint"
version = "3.3.0"
description = "Linter and SBOM generator for binary files."
authors = [
{name= "Team AppThreat", email = "cloud@appthreat.com"},
]
dependencies = [
"lief>=0.17.4",
"rich>=15.0.0",
"PyYAML>=6.0.3",
"defusedxml>=0.7.1",
"pydantic[email]>=2.13.3",
"orjson>=3.11.7",
"multi-demangle>=1.0.3",
"ar>=1.0.1",
"custom-json-diff>=2.1.6",
"apkInspector>=1.3.6",
"appdirs>=1.4.4",
"apsw>=3.53.0.0",
"packageurl-python>=0.17.6",
"oras>=0.2.41",
"wasm-tools>=1.0.3",
]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/owasp-dep-scan/blint"
repository = "https://github.com/owasp-dep-scan/blint"
keywords = ["linter", "binary", "security", "sast"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Utilities",
"Topic :: Security",
"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",
"Operating System :: OS Independent",
]
requires-python = ">=3.10,<3.15"
include = ["blint/data/*.yml"]
[project.urls]
"CI" = "https://github.com/owasp-dep-scan/blint/actions"
[project.scripts]
blint = 'blint.cli:main'
[project.optional-dependencies]
dev = [
"pytest>=9.0.3",
"ruff>=0.14.0",
"flake8>=7.3.0",
"pylint>=4.0.5",
"pytest-cov>=7.1.0",
"pyinstaller>=6.20.0"
]
[tool.ruff]
line-length = 99
[tool.ruff.format]
# Match the previous formatter defaults so existing files are not churned.
quote-style = "double"
indent-style = "space"
[tool.poetry.group.extended.dependencies]
nyxstone = "^0.1.1"
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--verbose --cov-append --cov-report term --cov blint"
[tool.pylint]
generated-members = ["lief", "orjson"]
ignore-paths = ["blint/cyclonedx/*", "tests/*"]
# Let's not fuss about long strings
ignore-long-lines = "[r|f]\""
disable = ["missing-module-docstring", "logging-fstring-interpolation"]
[tool.pylint.format]
max-line-length = 99
[tool.pylint.design]
max-args = 6
max-nested-blocks = 6