Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Add code style checks #331

Merged
merged 6 commits into from
Nov 23, 2023
Merged

Add code style checks #331

merged 6 commits into from
Nov 23, 2023

Commits on Nov 22, 2023

  1. feat(pre-commit): add linting/formating checks

    by usage of the [pre-commit](https://pre-commit.com/) framework.
    We are including the following:
    - `ruff` for fast python linting
    - `black` for opinionated python auto formatting
    - `clang-format` for C++ formatting based on google styles
    - `cppcheck` for C++ linting
    timonegk authored and texhnolyze committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    46e7004 View commit details
    Browse the repository at this point in the history
  2. ci(pre-commit): add github action for linting/formatting

    that will run and check the pre-commit hooks on PRs and updates on the
    master branch
    timonegk authored and texhnolyze committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    7a5244e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2052f1b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3195615 View commit details
    Browse the repository at this point in the history
  5. chore(pre-commit): add .git-blame-ignore-revs

    to prevent full repo autoformatting to affect the git history, when
    utilizing `git blame`
    texhnolyze committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    84bebe3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a72d507 View commit details
    Browse the repository at this point in the history