Skip to content

Commit 135db0f

Browse files
committed
👷 qlty.toml
1 parent 0abfaff commit 135db0f

File tree

2 files changed

+79
-1
lines changed

2 files changed

+79
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🐍 SnakyHash
22

3-
[![Version][👽versioni]][👽version] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![Depfu][🔑depfui♻️]][🔑depfu] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![QLTY Test Coverage][🔑qlty-covi♻️]][🔑qlty-cov] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL]
3+
[![Version][👽versioni]][👽version] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![Depfu][🔑depfui♻️]][🔑depfu] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![QLTY Test Coverage][🔑qlty-covi♻️]][🔑qlty-cov] [![QLTY Maintainability][🔑qlty-mnti♻️]][🔑qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL]
44

55
---
66

qlty.toml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# For a guide to configuration, visit https://qlty.sh/d/config
2+
# Or for a full reference, visit https://qlty.sh/d/qlty-toml
3+
config_version = "0"
4+
5+
exclude_patterns = [
6+
"*_min.*",
7+
"*-min.*",
8+
"*.min.*",
9+
"**/.yarn/**",
10+
"**/*.d.ts",
11+
"**/assets/**",
12+
"**/bin/**",
13+
"**/bower_components/**",
14+
"**/build/**",
15+
"**/cache/**",
16+
"**/config/**",
17+
"**/.devcontainer",
18+
"**/db/**",
19+
"**/deps/**",
20+
"**/dist/**",
21+
"**/doc/**",
22+
"**/extern/**",
23+
"**/external/**",
24+
"**/generated/**",
25+
"**/Godeps/**",
26+
"**/gradlew/**",
27+
"**/mvnw/**",
28+
"**/node_modules/**",
29+
"**/protos/**",
30+
"**/seed/**",
31+
"**/target/**",
32+
"**/templates/**",
33+
"**/testdata/**",
34+
"**/vendor/**",
35+
]
36+
37+
38+
test_patterns = [
39+
"**/test/**",
40+
"**/spec/**",
41+
"**/*.test.*",
42+
"**/*.spec.*",
43+
"**/*_test.*",
44+
"**/*_spec.*",
45+
"**/test_*.*",
46+
"**/spec_*.*",
47+
]
48+
49+
[smells]
50+
mode = "comment"
51+
52+
[smells.boolean_logic]
53+
threshold = 4
54+
enabled = true
55+
56+
[smells.file_complexity]
57+
threshold = 55
58+
enabled = false
59+
60+
[smells.return_statements]
61+
threshold = 4
62+
enabled = true
63+
64+
[smells.nested_control_flow]
65+
threshold = 4
66+
enabled = true
67+
68+
[smells.function_parameters]
69+
threshold = 4
70+
enabled = true
71+
72+
[smells.function_complexity]
73+
threshold = 5
74+
enabled = true
75+
76+
[smells.duplication]
77+
enabled = true
78+
threshold = 20

0 commit comments

Comments
 (0)