Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cpp-linter/cpp-linter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.10.7
Choose a base ref
...
head repository: cpp-linter/cpp-linter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.11.0
Choose a head ref
  • 14 commits
  • 45 files changed
  • 6 contributors

Commits on May 20, 2025

  1. feat: add ci section and bump pre-commit hooks (#140)

    * feat: bump pre-commit hooks and add ci section
    
    * fix pre-commit check fail
    
    * fix: omit cpp_linter/__init__.py
    shenxianpeng authored May 20, 2025
    Configuration menu
    Copy the full SHA
    139c89d View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2025

  1. chore: switch to uv and nox (#143)

    - Use `uv` to manage dependencies
    - Remove requirements*.txt in favor of uv.lock
    - Updated dependabot config to use uv.lock file
    - Use `nox` as the project task runner
    - Updated CI to use `uv` and `nox`
    - Add CONTRIBUTING doc about on-boarding info
    - Update RTD config
    - Update gitpod config
    - Adjust coverage.py config
    - Include clang v20 in CI tests (and drop clang v7)
    2bndy5 authored Jun 12, 2025
    Configuration menu
    Copy the full SHA
    cf35912 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2025

  1. [pre-commit.ci] pre-commit autoupdate (#148)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.11.10 → v0.12.2](astral-sh/ruff-pre-commit@v0.11.10...v0.12.2)
    - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.1](pre-commit/mirrors-mypy@v1.15.0...v1.16.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jul 7, 2025
    Configuration menu
    Copy the full SHA
    be09f00 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2025

  1. Bump astral-sh/setup-uv from 5 to 6 in the actions group (#147)

    Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv).
    
    
    Updates `astral-sh/setup-uv` from 5 to 6
    - [Release notes](https://github.com/astral-sh/setup-uv/releases)
    - [Commits](astral-sh/setup-uv@v5...v6)
    
    ---
    updated-dependencies:
    - dependency-name: astral-sh/setup-uv
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 8, 2025
    Configuration menu
    Copy the full SHA
    762f056 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2025

  1. Bump the actions group with 2 updates (#149)

    Bumps the actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/download-artifact](https://github.com/actions/download-artifact).
    
    
    Updates `actions/checkout` from 4 to 5
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v4...v5)
    
    Updates `actions/download-artifact` from 4 to 5
    - [Release notes](https://github.com/actions/download-artifact/releases)
    - [Commits](actions/download-artifact@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: '5'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    - dependency-name: actions/download-artifact
      dependency-version: '5'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 12, 2025
    Configuration menu
    Copy the full SHA
    105ced2 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2025

  1. chore: review CI workflows (#151)

    - adjust CI matrix about tested clang versions and switch back to ubuntu-latest
    - pin actions to their SHA instead of using their tags
    - change dependabot updates to monthly check
    - rewrite release CI (per cpp-linter/.github#41)
    - explicitly specify permissions needed
    - add zizmor static analysis
    2bndy5 authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    d68d320 View commit details
    Browse the repository at this point in the history
  2. chore: follow up to #151 (#152)

    Some permissions were in adequate after merging #151.
    This was hard to predict because the permission requirements
    changed between PR and push events to main.
    2bndy5 authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    f047e9c View commit details
    Browse the repository at this point in the history
  3. chore: follow up #152 (#154)

    explicitly provide GITHUB_TOKEN
    2bndy5 authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    6f863c5 View commit details
    Browse the repository at this point in the history
  4. Bump actions/setup-python from 5.6.0 to 6.0.0 in the actions group (#153

    )
    
    Bumps the actions group with 1 update: [actions/setup-python](https://github.com/actions/setup-python).
    
    
    Updates `actions/setup-python` from 5.6.0 to 6.0.0
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@a26af69...e797f83)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-version: 6.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    d56a0ef View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2025

  1. feat: generate _version.py (#155)

    This new `_version.py` file is gitignored and generated at build time. It will be distributed to pypi though.
    
    The generated code is used as
    
    1. a part of the custom `User-Agent` request header (`cpp-linter/<version>`).
       This should help identify REST API requests as unique requests from this software. The `requests` lib default user-agent value is set similarly but specific to the requests library (`python-requests/X.Y.Z`).
    2. the output of the new CLI subcommand `cpp-linter version`.
       This is meant to differentiate between the global `--version` arg used to specify a clang version.
    
    ### Other changes
    - ran `uv sync --all-groups -U` to upgrade locked dependencies
    - update pre-commit hooks and ran them
    - updated the test about listing changed files to ensure the user-agent is set accordingly.
    - updated test about CLI parsing to ensure the new subcommand is respected (when used)
    - updated CLI docs about new subcommand
    
    ---
    All of this is already implemented in the cpp-linter-rs port.
    So, this patch aligns with the future v2, disregarding the difference in `--help` output.
    2bndy5 authored Sep 5, 2025
    Configuration menu
    Copy the full SHA
    684fb08 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f6473e View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2025

  1. chore: switch back to reusable docs CI workflow (#157)

    now that it uses uv in reusable workflow
    
    see also cpp-linter/.github#52
    2bndy5 authored Sep 7, 2025
    Configuration menu
    Copy the full SHA
    2fd7d89 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2025

  1. Configuration menu
    Copy the full SHA
    8e9ec47 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2025

  1. fix: specify stale workflow permissions for org reusable workflow (#160)

    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <[email protected]>
    Co-authored-by: shenxianpeng <[email protected]>
    Co-authored-by: Brendan <[email protected]>
    3 people authored Sep 11, 2025
    Configuration menu
    Copy the full SHA
    3fca4e1 View commit details
    Browse the repository at this point in the history
Loading