Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
203 lines (189 loc) · 5.35 KB
/
Copy pathpyproject.toml
File metadata and controls
203 lines (189 loc) · 5.35 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "skylos"
version = "5.10.0"
requires-python = ">=3.11"
description = "Python dead code, security and secrets scanner with a pull-request gate; narrower checks for TypeScript, Java and more."
authors = [{name = "Aaron Oh", email = "aaronoh2015@gmail.com"}]
readme = "README.md"
license = "Apache-2.0"
keywords = [
"static-analysis",
"dead-code",
"unused-code",
"unused-imports",
"unused-functions",
"python-dead-code",
"security",
"linter",
"code-quality",
"sast",
"python-sast",
"vulnerability-scanner",
"python-linter",
"python-security",
"python-security-scanner",
"quality-gate",
"ci-cd",
"github-actions",
"github-actions-security",
"gitlab-ci",
"gitlab-ci-security",
"shell-security",
"supply-chain-security",
"code-review",
"secrets-detection",
"mcp",
"mcp-server",
"ai-agent",
"coding-agent",
"test-tampering",
"pull-request-gate",
"vulture-alternative",
"bandit-alternative",
"code-scanner",
"dead-code-detector",
"django",
"flask",
"fastapi",
"pytest",
"devsecops",
"ai-generated-code",
"ai-code-security",
"prompt-injection",
"ai-supply-chain-security",
"hallucinated-dependency",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"inquirer>=3.1.0",
"libcst>=1.8.2",
"rich>=14.0.0",
"markdown-it-py>=2.2.0",
"textual>=1.0.0",
"keyring>=25.6.0,!=3.4.2",
"requests",
"packaging>=24.2",
"tree-sitter>=0.25.2,<0.27",
"tree-sitter-typescript>=0.23.2,<0.24",
"tree-sitter-go>=0.23.0,<0.26",
"tree-sitter-java>=0.23.0,<0.24",
"tree-sitter-php>=0.24.1,<0.25",
"tree-sitter-rust>=0.24.2,<0.25",
"tree-sitter-cpp>=0.23.4,<0.24",
"tree-sitter-ruby>=0.23.1,<0.24",
"tree-sitter-swift>=0.7.4,<0.8",
"python-hcl2>=8.1.4,<9",
"tomli>=2.0.1; python_version < '3.11'",
"pyyaml",
"networkx",
"pyperclip",
"ca9>=0.7.0",
"mcp>=1.0.0,<2"
]
[project.urls]
Homepage = "https://skylos.dev"
Documentation = "https://docs.skylos.dev"
Changelog = "https://github.com/duriantaco/skylos/blob/main/CHANGELOG.md"
Issues = "https://github.com/duriantaco/skylos/issues"
Source = "https://github.com/duriantaco/skylos"
"MCP server" = "https://docs.skylos.dev/mcp-server"
[project.optional-dependencies]
llm = ["litellm>=1.84.0,<1.107.0", "aiohttp>=3.14.0", "filelock>=4.2.1"]
test = ["pytest>=9.0.2", "packaging>=24.2"]
verdict = ["cryptography>=42"]
# Dart parsing; this grammar ships no wheels, so installing it compiles C.
dart = ["tree-sitter-dart-orchard>=0.3.2,<0.6"]
postgres = ["pglast>=8.8,<9"]
all = [
"filelock>=4.2.1",
"pytest>=9.0.2",
"packaging>=24.2",
"litellm>=1.84.0,<1.107.0",
"aiohttp>=3.14.0",
"cryptography>=42",
"tree-sitter-dart-orchard>=0.3.2,<0.6",
"pglast>=8.8,<9",
]
[project.scripts]
skylos = "skylos.entry:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["skylos*"]
namespaces = false
[tool.setuptools.package-data]
# Data files read at runtime. test/test_package_data.py fails when a tracked
# non-Python file under skylos/ is neither listed here nor marked unshipped.
# The report-upload contract shared with Skylos Cloud.
"skylos.api" = ["upload_contract/*.json"]
# Import-name -> distribution map for the dependency hallucination checks.
"skylos.rules.ai_defect" = ["pipreqs_import_mapping.txt"]
"skylos.rules" = ["packs/*.yml"]
# Built-in standards for `skylos agent remediate --standards`.
"skylos.llm" = ["cleanup_standards.md"]
# GitHub Actions context capabilities (generated from Octokit's webhook
# schemas, MIT), action inputs that run code, and their NOTICE.
"skylos.rules.config.cicd" = ["data/*.json", "data/NOTICE.txt"]
# The local `skylos graph open` viewer page.
"skylos.graph.viewer" = ["index.html", "app.js", "app.css"]
# JS/TS tool knowledge (a table of static facts, each row with its source).
"skylos.visitors.languages.typescript" = ["data/plugin_facts.json"]
[tool.skylos]
complexity = 10
nesting = 3
max_args = 5
max_lines = 50
model = "gpt-4.1"
exclude = [
# Benchmarks include deliberately vulnerable demo and scanner fixtures.
"benchmarks",
"corpus",
"docs/repo-map",
"editors/vscode/out",
"manual",
"skylos-demo",
"test/fixtures",
]
ignore = []
[tool.skylos.masking]
names = []
decorators = []
bases = []
[tool.skylos.whitelist]
names = [
]
[tool.skylos.whitelist.documented]
[tool.skylos.whitelist.temporary]
[tool.skylos.gate]
fail_on_critical = true
max_security = 0
max_quality = 10
strict = false
[tool.uv.workspace]
exclude = ["rust"]
[tool.ruff]
target-version = "py310"
extend-exclude = ["manual"]
[tool.pytest.ini_options]
testpaths = ["test"]
norecursedirs = [
"benchmarks",
"corpus",
"manual",
]