Skip to content

Commit 843ab3c

Browse files
committed
Migrate to qlty
1 parent 6832f5d commit 843ab3c

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

.codeclimate.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/python-quality.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
make dev-dependencies
29-
- name: Test & publish code coverage
30-
uses: paambaati/codeclimate-action@v9.0.0
31-
env:
32-
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPORTER_ID }}
29+
- name: Install dependencies
30+
run: make dev-dependencies
31+
- name: Run coverage
32+
run: make ci-coverage
33+
- uses: qltysh/qlty-action/coverage@v1
3334
with:
34-
coverageCommand: make ci-coverage
35-
coverageLocations: |
36-
${{github.workspace}}/coverage.lcov:lcov
37-
debug: true
35+
token: ${{secrets.QLTY_COVERAGE_TOKEN}}
36+
files: ${{github.workspace}}/coverage.lcov

.qlty/qlty.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
config_version = "0"
2+
exclude_patterns = []
3+
test_patterns = ["**/tests/**"]
4+
5+
[[source]]
6+
name = "default"
7+
default = true

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage
1+
.PHONY: dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage qlty
22

33
#########################
44
###### dev commands #####
@@ -18,6 +18,9 @@ fix:
1818
uv run ruff check . --fix
1919
uv run ruff format .
2020

21+
qlty:
22+
qlty smells --all
23+
2124
check:
2225
uv run tox
2326

0 commit comments

Comments
 (0)