-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (89 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
99 lines (89 loc) · 2.22 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
[project]
name = "CodeSecTools"
version = "0.15.1"
description = "A framework for code security that provides abstractions for static analysis tools and datasets to support their integration, testing, and evaluation."
readme = "README.md"
license = "AGPL-3.0-only"
license-files = ["LICENSE"]
requires-python = ">=3.12"
authors = [
{name = "nolliv22"},
]
dependencies = [
"gitpython>=3.1.44",
"humanize>=4.12.3",
"lxml>=6.0.2",
"matplotlib>=3.10.3",
"numpy>=2.3.1",
"packaging>=25.0",
"pydantic>=2.12.5",
"python-on-whales>=0.79.0",
"pyyaml>=6.0.2",
"requests>=2.32.4",
"tqdm>=4.67.1",
"typer>=0.16.1",
"urllib3>=2.6.3",
"xmltodict>=0.14.2",
]
[project.urls]
Homepage = "https://github.com/OPPIDA/CodeSecTools"
Documentation = "https://oppida.github.io/CodeSecTools/"
Repository = "https://github.com/OPPIDA/CodeSecTools"
[project.optional-dependencies]
dev = [
"pre-commit>=4.3.0",
"ruff>=0.12.8",
"tuna>=0.5.11",
"ty>=0.0.2",
"types-lxml>=2025.8.25",
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-click>=0.9.0",
"mkdocs-gen-files>=0.5.0",
"mkdocs-github-admonitions-plugin>=0.1.1",
"mkdocs-include-markdown-plugin>=7.1.6",
"mkdocs-literate-nav>=0.6.2",
"mkdocs-material[imaging]>=9.6.16",
"mkdocs-mermaid2-plugin>=1.2.2",
"mkdocs-open-in-new-tab>=1.0.8",
"mkdocstrings[python]>=0.30.0",
"pyyaml>=6.0.2",
"ruff>=0.12.8",
"termynal>=0.13.1",
]
test = [
"pytest>=8.4.1",
"pytest-order>=1.3.0",
]
[project.scripts]
cstools = "codesectools.cli:cli"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["codesectools", "codesectools.*"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
codesectools = ["data/**/*"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"ANN", # flake8-annotations
"B", # flake8-bugbear
"TC", # flake8-type-checking
"D", # pydocstyle
]
ignore = [
"E501", # Line Too Long
"D203", "D213" # Conflict
]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.pytest.ini_options]
addopts = "-x --showlocals -vvv"
log_cli = true
log_level = "INFO"