Skip to content

Commit 90ec2f7

Browse files
committed
remove remnants of python package
solves #95 - altered docs - added the new logo & favicon. - changed colors for readability - removed API reference pages - adds contributing guidelines page - removed python sources - removed unit tests - removed requirements*.txt - removed gitpod config because it was only related to installing python dependencies (specifically not for docs) - removed pre-commit hooks related to python sources - removed pytest/coverage workflows - updated README - removed coverage badge - changed target for docs badge to point to hosted docs - reduced mkdocs config/requirements accordingly - changed link to LICENSE to be absolute because it was broken from the docs site - adjust mkdocs CI - adjust test-repo triggers in run-test.yml CI workflow
1 parent bfc328f commit 90ec2f7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+47
-4144
lines changed

.github/workflows/mkdocs-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
python-version: 3.x
1515
- name: Install python action for doc extraction
16-
run: pip install . -r docs/requirements.txt
16+
run: pip install -r docs/requirements.txt
1717
- name: check mkdocs build
1818
if: github.ref != 'refs/heads/main'
1919
run: mkdocs build

.github/workflows/run-dev-tests.yml

-113
This file was deleted.

.github/workflows/run-test.yml

-16
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,3 @@ jobs:
4141
propagate_failure: true
4242
trigger_workflow: true
4343
wait_workflow: true
44-
test-package:
45-
needs: [add-tag]
46-
runs-on: ubuntu-latest
47-
steps:
48-
- uses: convictional/[email protected]
49-
with:
50-
owner: cpp-linter
51-
repo: test-cpp-linter-action
52-
github_token: ${{ secrets.PAT_TOKEN }}
53-
workflow_file_name: cpp-lint-package.yml
54-
ref: master
55-
wait_interval: 10
56-
client_payload: '{}'
57-
propagate_failure: true
58-
trigger_workflow: true
59-
wait_workflow: true

.gitpod.yml

-2
This file was deleted.

.pre-commit-config.yaml

-27
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,6 @@ repos:
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
7-
- id: check-docstring-first
87
- id: check-added-large-files
98
- id: check-yaml
10-
- id: check-toml
119
- id: requirements-txt-fixer
12-
- repo: https://github.com/python/black
13-
rev: '22.6.0'
14-
hooks:
15-
- id: black
16-
args: ["--diff"]
17-
- repo: https://github.com/pycqa/pylint
18-
rev: v2.14.5
19-
hooks:
20-
- id: pylint
21-
name: pylint (action code)
22-
types: [python]
23-
exclude: "^(docs/|tests/|setup.py$)"
24-
additional_dependencies: [pyyaml, requests]
25-
- repo: local
26-
# this is a "local" hook to run mypy (see https://pre-commit.com/#repository-local-hooks)
27-
# because the mypy project doesn't seem to be compatible with pre-commit hooks
28-
hooks:
29-
- id: mypy
30-
name: mypy
31-
description: type checking with mypy tool
32-
language: python
33-
types: [python]
34-
entry: mypy
35-
exclude: "^(docs/|setup.py$)"
36-
additional_dependencies: [mypy, types-pyyaml, types-requests, rich, requests, pytest, pyyaml, '.']

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ For pull requests, please stick to the following guidelines
1717

1818
If you wish to contribute to the python source package used by this action, then that has moved to it's own repository named [cpp-linter](https://github.com/cpp-linter/cpp-linter) as of v2 of this action.
1919

20-
Please note that by contributing any code or documentation to this repository (by raising pull requests, or otherwise) you explicitly agree to the [License Agreement](LICENSE).
20+
Please note that by contributing any code or documentation to this repository (by raising pull requests, or otherwise) you explicitly agree to the [License Agreement](https://github.com/cpp-linter/cpp-linter-action/blob/main/LICENSE).

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/cpp-linter/cpp-linter-action?style=flat-square)
66
[![GitHub marketplace](https://img.shields.io/badge/marketplace-C%2FC%2B%2B%20Lint%20Action-blue?logo=github&style=flat-square)](https://github.com/marketplace/actions/c-c-lint-action)
77
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/cpp-linter/cpp-linter-action/cpp-linter?label=cpp-linter&logo=Github&style=flat-square)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml)
8-
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/cpp-linter/cpp-linter-action/MkDocs%20Deploy?label=docs&logo=Github&style=flat-square)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/mkdocs-deploy.yml)
8+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/cpp-linter/cpp-linter-action/MkDocs%20Deploy?label=docs&logo=Github&style=flat-square)](https://cpp-linter.github.io/cpp-linter-action)
99
![GitHub](https://img.shields.io/github/license/cpp-linter/cpp-linter-action?label=license&logo=github&style=flat-square)
10-
[![codecov](https://codecov.io/gh/cpp-linter/cpp-linter-action/branch/main/graph/badge.svg?token=4SF7UEDEZ2)](https://codecov.io/gh/cpp-linter/cpp-linter-action)
1110

1211
A Github Action for linting C/C++ code integrating clang-tidy and clang-format to collect feedback provided in the form of thread comments and/or annotations.
1312

cpp_linter/__init__.py

-160
This file was deleted.

0 commit comments

Comments
 (0)