Repository navigation
Expand file tree
/
Copy pathfensu.toml
More file actions
48 lines (40 loc) · 1.82 KB
/
Copy pathfensu.toml
File metadata and controls
48 lines (40 loc) · 1.82 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
[targets.python]
analyzer = "python"
roots = ["src/sqlclean"]
tests = ["tests"]
tooling = ["scripts"]
select = ["FF"]
[[targets.python.rule_exceptions]]
rule = "FFL105"
path = "src/sqlclean/hosting/main/serve.py"
reason = "The native sqlclean command starts the custom Rule host with `python -c` and imports this entry by path."
[targets.rust]
analyzer = "rust"
roots = ["crates"]
tests = []
tooling = []
rule_packs = ["rust"]
select = ["FPRS"]
[[targets.rust.rule_exceptions]]
rule = "FPRSL105"
path = "crates/sqlclean/src/sql_lint/main/engine.rs"
reason = "Integration surface: SQLBuild's Python bindings lint through `lint_json`; the sqlclean CLI uses `lint` instead."
[[targets.rust.rule_exceptions]]
rule = "FPRSL105"
path = "crates/sqlclean/src/sql_lint/main/batch_engine.rs"
reason = "Integration surface: SQLBuild's lint_text domain lints many SQL texts in one call through `lint_batch_json`."
[[targets.rust.rule_exceptions]]
rule = "FPRSL105"
path = "crates/sqlclean/src/sql_lint/main/formatter.rs"
reason = "Integration surface: SQLBuild's Python bindings format through `format_json`."
[[targets.rust.rule_exceptions]]
rule = "FPRSL105"
path = "crates/sqlclean/src/sql_tokens/main/builtin_function_names.rs"
reason = "This entry exists for the sql_lint tests, which the analyzer does not count as importers."
[[targets.rust.rule_exceptions]]
rule = "FPRSL105"
path = "crates/sqlclean/src/sql_tokens/main/query_fingerprint.rs"
reason = "This test-support entry checks that fixes preserve meaning in the sql_lint tests, which the analyzer does not count as importers."
[targets.rust.rule_options.FPRSR311]
# `skill/` is the agent skill the `sqlclean skills` command embeds; scripts.generate_docs_skill writes its references.
allowed_entries = ["Cargo.toml", "build.rs", "src/", "tests/", "benches/", "examples/", "README*", "LICENSE*", "skill/"]