From 8c341e5ced03cc7bef7df8b00c98a60b7884e97c Mon Sep 17 00:00:00 2001 From: Nano Taboada Date: Fri, 6 Feb 2026 02:18:04 -0300 Subject: [PATCH 1/3] perf: remove redundant Codacy integration (#475) - Remove Codacy configuration file (.codacy.yml) - Remove Codacy step from CI workflow (keep Codecov only) - Remove Codacy badge from README CodeQL handles security scanning, SonarCloud provides quality analysis, and Codecov tracks coverage - eliminating the need for duplicate tooling. --- .codacy.yml | 17 ----------------- .github/workflows/python-ci.yml | 15 ++------------- README.md | 1 - 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 .codacy.yml diff --git a/.codacy.yml b/.codacy.yml deleted file mode 100644 index 16ef4c1..0000000 --- a/.codacy.yml +++ /dev/null @@ -1,17 +0,0 @@ -# https://docs.codacy.com/repositories-configure/codacy-configuration-file/ - -exclude_paths: - - "assets/**/*" - - "databases/**/*" - - "models/**/*" - - "postman_collections/**/*" - - "schemas/**/*" - - "tests/**/*" - - "**/*.yml" - - "**/*.json" - - "**/*.txt" - - "**/__pycache__/" - - "**/*.pyc" - - "LICENSE" - - "main.py" - - "README.md" diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index b181c99..0968c47 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -80,11 +80,8 @@ jobs: permissions: contents: read # Only run coverage for PRs from the same repository (not forks) - # This ensures secrets are available for Codecov and Codacy + # This ensures secrets are available for Codecov if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository - strategy: - matrix: - service: [codecov, codacy] steps: - name: Checkout repository uses: actions/checkout@v6.0.2 @@ -94,16 +91,8 @@ jobs: with: name: coverage.xml - - name: Upload coverage report to ${{ matrix.service }} - if: ${{ matrix.service == 'codecov' }} + - name: Upload coverage report to Codecov uses: codecov/codecov-action@v5.5.2 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml - - - name: Upload coverage report to ${{ matrix.service }} - if: ${{ matrix.service == 'codacy' }} - uses: codacy/codacy-coverage-reporter-action@v1.3.0 - with: - project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} - coverage-reports: coverage.xml diff --git a/README.md b/README.md index 93fb55c..9ab9e5c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ [![Python CI](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-ci.yml/badge.svg)](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-ci.yml) [![Python CD](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-cd.yml/badge.svg)](https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-cd.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanotaboada_python-samples-fastapi-restful&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=nanotaboada_python-samples-fastapi-restful) -[![Codacy Badge](https://app.codacy.com/project/badge/Grade/8f9bab37f6f444c895a8b25d5df772fc)](https://app.codacy.com/gh/nanotaboada/python-samples-fastapi-restful/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![codecov](https://codecov.io/gh/nanotaboada/python-samples-fastapi-restful/branch/master/graph/badge.svg?token=A1WNZPRQEJ)](https://codecov.io/gh/nanotaboada/python-samples-fastapi-restful) [![CodeFactor](https://www.codefactor.io/repository/github/nanotaboada/python-samples-fastapi-restful/badge)](https://www.codefactor.io/repository/github/nanotaboada/python-samples-fastapi-restful) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) From 75a803148ccd9f3a7070a58e6f8dffa15934cbd0 Mon Sep 17 00:00:00 2001 From: Nano Taboada Date: Fri, 6 Feb 2026 02:26:22 -0300 Subject: [PATCH 2/3] docs: remove duplicate coach names table from README Replace detailed coach table with a reference to CHANGELOG.md to avoid duplication. The complete A-Z list is maintained in a single source of truth in the changelog. --- README.md | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/README.md b/README.md index 9ab9e5c..7d50c62 100644 --- a/README.md +++ b/README.md @@ -118,25 +118,7 @@ docker pull ghcr.io/nanotaboada/python-samples-fastapi-restful:ancelotti docker pull ghcr.io/nanotaboada/python-samples-fastapi-restful:latest ``` -### Coach Names (A-Z) - -| Letter | Coach | Tag Name | Letter | Coach | Tag Name | -|--------|-------|----------|--------|-------|----------| -| A | Ancelotti | `ancelotti` | N | Nagelsmann | `nagelsmann` | -| B | Bielsa | `bielsa` | O | Ottmar | `ottmar` | -| C | Capello | `capello` | P | Pochettino | `pochettino` | -| D | Del Bosque | `delbosque` | Q | Queiroz | `queiroz` | -| E | Eriksson | `eriksson` | R | Ranieri | `ranieri` | -| F | Ferguson | `ferguson` | S | Simeone | `simeone` | -| G | Guardiola | `guardiola` | T | Tuchel | `tuchel` | -| H | Heynckes | `heynckes` | U | Unai | `unai` | -| I | Inzaghi | `inzaghi` | V | Van Gaal | `vangaal` | -| J | Klopp | `klopp` | W | Wenger | `wenger` | -| K | Kovač | `kovac` | X | Xavi | `xavi` | -| L | Löw | `low` | Y | Yozhef | `yozhef` | -| M | Mourinho | `mourinho` | Z | Zeman | `zeman` | - -See [CHANGELOG.md](CHANGELOG.md) for full release history. +> 💡 **Note:** See [CHANGELOG.md](CHANGELOG.md) for the complete coach list (A-Z) and release history. ## Credits From 1b6c6cc92f6ec7a2445353c7fb60b9b7046a343b Mon Sep 17 00:00:00 2001 From: Nano Taboada Date: Fri, 6 Feb 2026 02:26:55 -0300 Subject: [PATCH 3/3] chore: adjust release template body to match tag format --- .github/workflows/python-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-cd.yml b/.github/workflows/python-cd.yml index 0d61528..76bffbb 100644 --- a/.github/workflows/python-cd.yml +++ b/.github/workflows/python-cd.yml @@ -139,7 +139,7 @@ jobs: name: "v${{ steps.version.outputs.semver }} - ${{ steps.version.outputs.coach }} ♟️" tag_name: ${{ steps.version.outputs.tag_name }} body: | - # ♟️ Release ${{ steps.version.outputs.semver }} - ${{ steps.version.outputs.coach }} + # Release ${{ steps.version.outputs.semver }} - ${{ steps.version.outputs.coach }} ♟️ ## Docker Images