Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (76 loc) · 2.21 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
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "securecodeaudit"
version = "0.1.0"
description = "Local, privacy-first static security code review platform with CLI and Web Dashboard."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
authors = [
{ name = "Jaindu De Zoysa (Jaindu-Net)" },
]
keywords = ["security", "sast", "static-analysis", "code-audit", "sarif", "owasp", "cwe"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
]
dependencies = [
"typer>=0.12.0",
"rich>=13.7.0",
"fastapi>=0.115.0,<0.142.0",
"uvicorn[standard]>=0.30.0",
"jinja2>=3.1.4",
"python-multipart>=0.0.9",
"pygments>=2.17.0",
"httpx>=0.27.0",
"packaging>=24.0",
"pydantic>=2.7.0",
"platformdirs>=4.2.0",
"bandit>=1.7.9",
"semgrep>=1.154.0",
"detect-secrets>=1.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"jsonschema>=4.21.0",
"ruff>=0.6.0",
]
[project.scripts]
scaudit = "scaudit.cli.app:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["scaudit*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 110
target-version = "py311"
exclude = ["tests/fixtures", "rules"]
force-exclude = true
[tool.ruff.lint]
select = ["E", "F", "I", "B", "S", "UP"]
ignore = ["S101", "B008", "E501"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S104", "S105", "S106", "S108", "S608", "S307", "S324", "S603"]
[tool.pyrefly]
project-excludes = ["tests/fixtures/**", "rules/**"]
ignore-missing-imports = ["flask", "flask.*"]
replace-untyped-imports-with-any = ["pygments", "pygments.*"]
[tool.pyrefly.errors]
untyped-import = false