Skip to content

Migrate to qlty #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .codeclimate.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/python-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ jobs:
- name: Install dependencies
run: |
make dev-dependencies
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@v9.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPORTER_ID }}
- name: Install dependencies
run: make dev-dependencies
- name: Run coverage
run: make ci-coverage
- uses: qltysh/qlty-action/coverage@v1
with:
coverageCommand: make ci-coverage
coverageLocations: |
${{github.workspace}}/coverage.lcov:lcov
debug: true
token: ${{secrets.QLTY_COVERAGE_TOKEN}}
files: ${{github.workspace}}/coverage.lcov
7 changes: 7 additions & 0 deletions .qlty/qlty.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config_version = "0"
exclude_patterns = []
test_patterns = ["**/tests/**"]

[[source]]
name = "default"
default = true
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage
.PHONY: dev-dependencies update-dependencies test docs fix check typing lint format ci-test ci-coverage qlty

#########################
###### dev commands #####
Expand All @@ -18,6 +18,9 @@ fix:
uv run ruff check . --fix
uv run ruff format .

qlty:
qlty smells --all

check:
uv run tox

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
[![stability-beta](https://img.shields.io/badge/stability-beta-33bbff.svg)](https://github.com/mkenney/software-guides/blob/master/STABILITY-BADGES.md#beta)

[![Python tests](https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/febus982/bootstrap-python-package/actions/workflows/python-tests.yml)
[![Maintainability](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/maintainability)](https://codeclimate.com/github/febus982/bootstrap-python-package/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/593e78ec96ed5ebb0dd3/test_coverage)](https://codeclimate.com/github/febus982/bootstrap-python-package/test_coverage)
[![Maintainability](https://qlty.sh/badges/d1e0d7b6-ab8a-463d-bd55-5c747a6fe1f9/maintainability.svg)](https://qlty.sh/gh/febus982/projects/bootstrap-python-package)
[![Code Coverage](https://qlty.sh/badges/d1e0d7b6-ab8a-463d-bd55-5c747a6fe1f9/test_coverage.svg)](https://qlty.sh/gh/febus982/projects/bootstrap-python-package)

[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
Expand Down