Skip to content

Commit 76d813b

Browse files
committed
Making the transition to qlty
1 parent 7cf21c1 commit 76d813b

2 files changed

Lines changed: 67 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8056010.svg)](https://doi.org/10.5281/zenodo.8056010)
2-
[![Maintainability](https://api.codeclimate.com/v1/badges/11bf2329590e7b0164ba/maintainability)](https://codeclimate.com/github/hed-standard/hed-python/maintainability)
3-
[![Test Coverage](https://api.codeclimate.com/v1/badges/11bf2329590e7b0164ba/test_coverage)](https://codeclimate.com/github/hed-standard/hed-python/test_coverage)
4-
![Python3](https://img.shields.io/badge/python->=3.8-yellow.svg)
2+
[![Maintainability](https://qlty.sh/gh/hed-standard/projects/hed-python/maintainability.svg)](https://qlty.sh/gh/hed-standard/projects/hed-python)
3+
[![Code Coverage](https://qlty.sh/gh/hed-standard/projects/hed-python/coverage.svg)](https://qlty.sh/gh/hed-standard/projects/hed-python)
4+
![Python3](https://img.shields.io/badge/python->=3.9-yellow.svg)
55
![PyPI - Status](https://img.shields.io/pypi/v/hedtools)
66
[![Documentation Status](https://readthedocs.org/projects/hed-python/badge/?version=latest)](https://hed-python.readthedocs.io/en/latest/?badge=latest)
77

qlty.toml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Qlty configuration file
2+
# Migrated from .codeclimate.yml
3+
4+
[rules]
5+
# Complexity and maintainability checks
6+
argument-count = { enabled = true, threshold = 4 }
7+
complex-logic = { enabled = true, threshold = 4 }
8+
file-lines = { enabled = true, threshold = 300 }
9+
method-complexity = { enabled = true, threshold = 5 }
10+
method-count = { enabled = true, threshold = 20 }
11+
method-lines = { enabled = true, threshold = 50 }
12+
nested-control-flow = { enabled = true, threshold = 4 }
13+
return-statements = { enabled = true, threshold = 4 }
14+
similar-code = { enabled = true }
15+
identical-code = { enabled = true }
16+
17+
[ignore]
18+
# Exclude patterns migrated from .codeclimate.yml
19+
paths = [
20+
"config/",
21+
"db/",
22+
"dist/",
23+
"features/",
24+
"**/node_modules/",
25+
"script/",
26+
"**/spec/",
27+
"**/test/",
28+
"**/tests/",
29+
"**/spec_tests/",
30+
"**/docs/",
31+
"Tests/",
32+
"**/vendor/",
33+
"**/*_test.go",
34+
"**/*.d.ts",
35+
"**/*__init__.py",
36+
"**/*setup.py",
37+
"**/setup.cfg",
38+
"**/static/",
39+
"**/constants/",
40+
"**/deploy_hed/",
41+
"**/README*",
42+
"**/.gitignore",
43+
"**/LICENSE",
44+
"**/examples/",
45+
"**/*.yml",
46+
"**/*.yaml",
47+
"**/config_template.py",
48+
"**/*.txt",
49+
"**/*.html",
50+
"**/.coveragerc",
51+
"**/*.md",
52+
"**/*.rst",
53+
"**/templates/",
54+
"**/conf.py",
55+
"**/deprecated/",
56+
"**/versioneer.py",
57+
"**/_version.py"
58+
]
59+
60+
[coverage]
61+
# Coverage configuration for Python projects
62+
# This will be used by the qlty-action/coverage action
63+
formats = ["lcov"]
64+
paths = ["target/lcov.info"]

0 commit comments

Comments
 (0)