.qlty/qlty.toml
50 lines · 1013 bytes
1config_version = "0"
2
3exclude_patterns = [
4 "**/vendor/**",
5 "**/node_modules/**",
6 "**/testdata/**",
7 "**/dist/**",
8 "**/.build/**",
9 "**/build/**",
10 "**/*.min.*",
11 "**/generated/**",
12 ".claude/**",
13 "**/Pods/**",
14 # Each application under applications/ runs standalone with its own
15 # reporters package, so the GitHub and GitLab CSV reporters are copies.
16 "applications/github/reporters/csv_reporter.py",
17 "applications/gitlab/reporters/csv_reporter.py",
18]
19
20test_patterns = [
21 "**/test/**",
22 "**/tests/**",
23 "**/Tests/**",
24 "**/*_test.*",
25 "**/test_*.*",
26 "**/*.test.*",
27 "**/*Tests.swift",
28 "e2e/**",
29]
30
31[[source]]
32name = "default"
33default = true
34
35[[plugin]]
36name = "osv-scanner"
37
38[[plugin]]
39name = "trufflehog"
40
41# Early returns are guard clauses, which keep the happy path unindented.
42[smells.return_statements]
43enabled = false
44
45# Function and file complexity are left to review rather than counted.
46[smells.function_complexity]
47enabled = false
48
49[smells.file_complexity]
50enabled = false