-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (36 loc) · 1.16 KB
/
Copy pathpyproject.toml
File metadata and controls
41 lines (36 loc) · 1.16 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
[project]
name = "vectorsmuggle"
requires-python = ">=3.11"
[tool.ruff]
line-length = 140
required-version = ">=0.15.0"
extend-exclude = ["*.ipynb"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "C4"]
ignore = ["E402", "T201", "A003"] # Allow module imports, print statements, and builtin shadowing
[tool.ruff.lint.per-file-ignores]
# Generated test data tooling has long inline string fixtures.
"generate_test_documents.py" = ["E501"]
# Query and analysis modules contain long descriptive strings used in
# research output and synthetic-PII test fixtures.
"query/optimization.py" = ["E501"]
"query/recovery_tools.py" = ["E501"]
"analysis/baseline_generator.py" = ["E501"]
"analysis/risk_assessment.py" = ["E501"]
# Standalone CLI scripts under tests/ have long descriptive strings for reports.
"tests/generate_comprehensive_report.py" = ["E501"]
"tests/test_steganography.py" = ["E501"]
[tool.ruff.lint.isort]
known-first-party = [
"config",
"analysis",
"evasion",
"loaders",
"query",
"steganography",
"utils",
"database_adapters",
]
[tool.bandit]
exclude_dirs = [".venv", "tests"]
skips = ["B101"] # Skip assert_used test