Skip to content

Commit 82562dc

Browse files
♻️ Remove codeclimate file and references (#113)
<!-- Copyright (C) 2020-2025 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> ### Description <!-- Please add any detail or context that would be useful to a reviewer. --> Remove codeclimate file and references ### Test Coverage <!-- Please put an `x` in the correct box e.g. `[x]` to indicate the testing coverage of this change. --> - [ ] This change is covered by existing or additional automated tests. - [ ] Manual testing has been performed (and evidence provided) as automated testing was not feasible. - [x] Additional tests are not required for this change (e.g. documentation update).
1 parent 5ec19cf commit 82562dc

File tree

7 files changed

+45
-91
lines changed

7 files changed

+45
-91
lines changed

.codeclimate.yml

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

.github/workflows/ci.yml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -47,47 +47,47 @@ jobs:
4747
echo "::error:: News file missing (See CONTRIBUTING.md guide for details)."
4848
4949
50-
generate-docs:
51-
name: Build Documentation
52-
runs-on: ubuntu-latest
53-
steps:
54-
- uses: actions/checkout@v4
55-
- uses: actions/setup-python@v5
56-
with:
57-
python-version: ${{ env.python_version}}
58-
- name: Determine dependencies
59-
# Note
60-
# The below code generates a pip requirements file from the pipenv development requirements (also obtaining the
61-
# normal dependencies from setup.py).
62-
# This code also forces the system to install latest tools as the ones present on the CI system may be too old
63-
# for the process to go through properly.
64-
# FIXME upgrade pipenv when https://github.com/pypa/pipenv/issues/4430 is actually fixed
65-
run: |
66-
python -m pip install --upgrade pip wheel setuptools
67-
python -m pip install pipenv==${{ env.pipenv_version }}
68-
echo "Locking dependencies"
69-
python -m pipenv lock
70-
python -m pipenv requirements > dev-requirements.txt
71-
- uses: FranzDiebold/github-env-vars-action@v2
72-
- name: Load Python Dependencies from cache
73-
uses: actions/cache@v4
74-
with:
75-
path: ${{ env.python_cache_ubuntu_path }}
76-
key: linux-pip-3-continuous-delivery-scripts
77-
- name: Install dependencies
78-
# Note
79-
# As a virtual machine is already being used, pipenv
80-
# is superfluous and eliminating pipenv in CI reduces overhead and reduce complexity, while retaining a single
81-
# location for development dependencies.
82-
run: |
83-
python -m pip install -r dev-requirements.txt
84-
python -m pip list
85-
- name: Generate Documentation
86-
run: |
87-
cd-generate-docs --output_dir $(cd-get-config --key DOCUMENTATION_PRODUCTION_OUTPUT_PATH)
88-
- name: Add copyright/licence notice.
89-
run: |
90-
cd-license-files
50+
# generate-docs:
51+
# name: Build Documentation
52+
# runs-on: ubuntu-latest
53+
# steps:
54+
# - uses: actions/checkout@v4
55+
# - uses: actions/setup-python@v5
56+
# with:
57+
# python-version: ${{ env.python_version}}
58+
# - name: Determine dependencies
59+
# # Note
60+
# # The below code generates a pip requirements file from the pipenv development requirements (also obtaining the
61+
# # normal dependencies from setup.py).
62+
# # This code also forces the system to install latest tools as the ones present on the CI system may be too old
63+
# # for the process to go through properly.
64+
# # FIXME upgrade pipenv when https://github.com/pypa/pipenv/issues/4430 is actually fixed
65+
# run: |
66+
# python -m pip install --upgrade pip wheel setuptools
67+
# python -m pip install pipenv==${{ env.pipenv_version }}
68+
# echo "Locking dependencies"
69+
# python -m pipenv lock
70+
# python -m pipenv requirements > dev-requirements.txt
71+
# - uses: FranzDiebold/github-env-vars-action@v2
72+
# - name: Load Python Dependencies from cache
73+
# uses: actions/cache@v4
74+
# with:
75+
# path: ${{ env.python_cache_ubuntu_path }}
76+
# key: linux-pip-3-continuous-delivery-scripts
77+
# - name: Install dependencies
78+
# # Note
79+
# # As a virtual machine is already being used, pipenv
80+
# # is superfluous and eliminating pipenv in CI reduces overhead and reduce complexity, while retaining a single
81+
# # location for development dependencies.
82+
# run: |
83+
# python -m pip install -r dev-requirements.txt
84+
# python -m pip list
85+
# - name: Generate Documentation
86+
# run: |
87+
# cd-generate-docs --output_dir $(cd-get-config --key DOCUMENTATION_PRODUCTION_OUTPUT_PATH)
88+
# - name: Add copyright/licence notice.
89+
# run: |
90+
# cd-license-files
9191

9292
tpip:
9393
name: Report licences in use (SPDX)

DEVELOPMENT.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,6 @@ Type hints should be used in the code wherever possible. Since the
133133
documentation shows the function signatures with the type hints
134134
there is no need to include additional type information in the docstrings.
135135

136-
137-
## Code Climate
138-
139-
Code Climate is integrated with our GitHub flow. Failing the configured rules will yield a pull request not mergeable.
140-
141-
If you prefer to view the Code Climate report on your machine, prior to sending a pull request, you can use the [cli provided by Code Climate](https://docs.codeclimate.com/docs/command-line-interface).
142-
143-
Plugins for various tools are also available:
144-
- [Atom](https://docs.codeclimate.com/docs/code-climate-atom-package)
145-
- [PyCharm](https://plugins.jetbrains.com/plugin/13306-code-cleaner-with-code-climate-cli)
146-
- [Vim](https://docs.codeclimate.com/docs/vim-plugin)
147-
148136
# Dependency upgrades
149137

150138
For dependency upgrades, dependabot is relied upon and news files are auto-generated in order to document such change. Nonetheless, due to a change in [GitHub actions](https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions), secrets are not available in the build triggered by the pull request unless they are [re-run manually](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#manually-re-running-a-workflow). So please re-run every dependabot PR CI jobs.
@@ -192,4 +180,4 @@ To flag individual false positives add comment `# pragma: allowlist secret` to l
192180

193181
To add all suspected secrets in the repository (excluding ones with an allow secret comment), run `detect-secrets scan --all-files --exclude-files 'Pipfile\.lock$' --exclude-files '.*\.html$' --exclude-files '.*\.properties$' --exclude-files 'ci.yml' --exclude-files '\.git' --exclude-files '.*_version.py' > .secrets.baseline`
194182

195-
If on Windows: then change the encoding of the .secrets.baseline file to UTF-8 then convert all `\` to `/` in the .secrets.baseline file
183+
If on Windows: then change the encoding of the .secrets.baseline file to UTF-8 then convert all `\` to `/` in the .secrets.baseline file

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ SPDX-License-Identifier: Apache-2.0
1616

1717
[![Build Status](https://github.com/ARMmbed/continuous-delivery-scripts/actions/workflows/ci.yml/badge.svg)](https://github.com/ARMmbed/continuous-delivery-scripts/actions/workflows/ci.yml)
1818

19-
[![Test Coverage](https://codecov.io/gh/ARMmbed/continuous-delivery-scripts/branch/main/graph/badge.svg?token=EAW9owYyjW)](https://codecov.io/gh/ARMmbed/continuous-delivery-scripts)
20-
[![Maintainability](https://api.codeclimate.com/v1/badges/41301e959f22986b7b2b/maintainability)](https://codeclimate.com/github/ARMmbed/continuous-delivery-scripts/maintainability)
21-
2219
## Overview
2320

2421
Project initially forked from [ARMmbed/mbed-tools-ci-scripts](https://github.com/ARMmbed/continuous-delivery-scripts) but modified so that it can be used for any projects and any languages.

news/20250627104347.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
♻️ Remove codeclimate file and references

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jaraco-context="MIT"
5656
importlib_metadata="Apache-2.0"
5757
docutils="BSD-3-Clause"
5858
backports-tarfile="MIT"
59+
Markdown="BSD-3-Clause"
60+
id="Apache-2.0"
5961

6062

6163

tests/packaging/fixtures/PKG-INFO

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Description: # Mbed Tools CI Scripts
1616
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/ARMmbed/mbed-tools-ci-scripts/blob/master/LICENSE)
1717

1818
[![Build Status](https://dev.azure.com/mbed-tools/mbed-tools-ci-scripts/_apis/build/status/Build%20and%20Release?branchName=master)](https://dev.azure.com/mbed-tools/mbed-tools-ci/_build/latest?definitionId=3&branchName=master)
19-
[![Test Coverage](https://codecov.io/gh/ARMmbed/mbed-tools-ci-scripts/branch/master/graph/badge.svg)](https://codecov.io/gh/ARMmbed/mbed-tools-ci-scripts)
20-
[![Maintainability](https://api.codeclimate.com/v1/badges/41301e959f22986b7b2b/maintainability)](https://codeclimate.com/github/ARMmbed/mbed-tools-ci-scripts/maintainability)
2119

2220
## Overview
2321

0 commit comments

Comments
 (0)