Commit 43587c5d23
Unsigned
Layout: unified · split
.qlty/.gitignore added +7
| @@ -0,0 +1,7 @@ | |||
| 1 | * | ||
| 2 | !configs | ||
| 3 | !configs/** | ||
| 4 | !hooks | ||
| 5 | !hooks/** | ||
| 6 | !qlty.toml | ||
| 7 | !.gitignore | ||
.qlty/qlty.toml added +48
| @@ -0,0 +1,48 @@ | |||
| 1 | config_version = "0" | ||
| 2 | |||
| 3 | exclude_patterns = [ | ||
| 4 | "**/vendor/**", | ||
| 5 | "**/node_modules/**", | ||
| 6 | "**/testdata/**", | ||
| 7 | "**/dist/**", | ||
| 8 | "**/.build/**", | ||
| 9 | "**/build/**", | ||
| 10 | "**/*.min.*", | ||
| 11 | "**/generated/**", | ||
| 12 | ".claude/**", | ||
| 13 | "**/Pods/**", | ||
| 14 | ] | ||
| 15 | |||
| 16 | test_patterns = [ | ||
| 17 | "**/test/**", | ||
| 18 | "**/tests/**", | ||
| 19 | "**/Tests/**", | ||
| 20 | "**/*_test.*", | ||
| 21 | "**/test_*.*", | ||
| 22 | "**/*.test.*", | ||
| 23 | "**/*Tests.swift", | ||
| 24 | "e2e/**", | ||
| 25 | ] | ||
| 26 | |||
| 27 | [[source]] | ||
| 28 | name = "default" | ||
| 29 | default = true | ||
| 30 | |||
| 31 | [[plugin]] | ||
| 32 | name = "osv-scanner" | ||
| 33 | |||
| 34 | [[plugin]] | ||
| 35 | name = "trufflehog" | ||
| 36 | |||
| 37 | # Early returns are guard clauses, which keep the happy path unindented. | ||
| 38 | [smells.return_statements] | ||
| 39 | enabled = false | ||
| 40 | |||
| 41 | # Total file complexity is the sum of its functions, which function_complexity | ||
| 42 | # already checks. | ||
| 43 | [smells.file_complexity] | ||
| 44 | enabled = false | ||
| 45 | |||
| 46 | # Dash passes one argument per Input; update_map has six Inputs. | ||
| 47 | [language.python.smells.function_parameters] | ||
| 48 | threshold = 7 | ||