Skip to content

Releases: Takishima/cmake-pre-commit-hooks

cmake-pre-commit-hooks v1.6.0

07 Feb 14:12
67ad919

Choose a tag to compare

Added

  • Added include-what-you-use-conda and cppcheck-conda hooks to install both tools using conda environments

Changed

  • Changed minimum Python version to 3.8.X
  • Allow lizard hook to handle Fortran files

Updated

  • Update GitHub release publishing workflow
  • Added some more pre-commit hooks:
    • doc8
    • codespell
    • yamllint
    • blacken-docs
    • pyupgrade

Repository

  • Update action/setup-python GitHub Action to v4
  • Update ilammy/msvc-dev-cmd GitHub Action to v1.12.1
  • Update thomaseizinger/create-pull-request GitHub Action to v1.3.0
  • Update Lucas-C/pre-commit-hooks hook to v1.4.2
  • Update asottile/pyupgrade to v3.2.0
  • Update black hook to v22.10.0
  • Update blacken-docs hook to v1.13.0
  • Update flake8 hook to v5.0.4
  • Update pre-commit/mirrors-pylint to v3.0.0a5
  • Update pre-commit/pre-commit-hooks to v4.3.0
  • Update pyupgrade hook to v3.3.1
  • Update yamllint hook to v1.29.0
  • Update isort hook to v5.12.0

cmake-pre-commit-hooks v1.5.3

14 Jun 12:54
6c5e724

Choose a tag to compare

Added

  • Add support for installing clang-format using Python if not found on the system
  • Add support for installing lizard automatically if not found on the system

Fixed

  • Correctly pass on the default argument list to CLinters
  • Fixed issues with release publishing workflows on GitHub

Repository

  • Update GitHub's CodeQL action to v2
  • Update pre-commit/pre-commit-hooks hook to v4.3.0
  • Update Lucas-C/pre-commit-hooks hook to v1.2.0
  • Update pre-commit/mirrors-pylint hook to v3.0.0a5
  • Update dangoslen/changelog-enforcer GitHub action to v3
  • Update thomaseizinger/create-pull-request GitHub action to v1.2.2
  • Update black hook to v22.3.0
  • Update check-manifest to v0.48

cmake-pre-commit-hooks v1.5.2

09 Dec 15:18
6ab0586

Choose a tag to compare

Fixed

  • Fixed indentation issue

cmake-pre-commit-hooks v1.5.1

08 Dec 15:57
651bcf3

Choose a tag to compare

Fixed

  • Fixed locating of compilation database in presence of a symbolic link in the source directory

Repository

  • New step in "Format" GitHub action to make sure the CHANGELOG is updated with proper version section for hotfix/*
    and release/* branches
  • Update isort hook to v5.10.1
  • Update black hook to v21.12b0

cmake-pre-commit-hooks v1.5.0

08 Nov 23:03
0919682

Choose a tag to compare

Added

  • Support for cpplint
  • Support for lizard, a code complexity analyzer

Repository

  • Update pre-commit hooks
  • Update thomaseizinger/create-pull-request GiHub action to v1.3.0
  • Update isort hook to v5.10.0
  • Update black hook to v21.10b0
  • Update check-manifest hook to v0.47
  • Update flake8 hook to v4.0.1

cmake-pre-commit-hooks v1.4.0

16 Jul 20:02
b14fc87

Choose a tag to compare

Added

  • Support for simultaneous processing of all files using --all-at-once

Updated

  • Improved code handling standard output and error stream in case of multiple files
  • Minor improvements to debugging output

Fixed

  • Do not attempt to copy the compilation database in the source directory if it exists and is a symbolic link
  • Properly handle the --cmake command line option

Repository

  • Cleanup of pre-commit-config.yaml and added:
  • Added some more flake8 plugins to the list used by pre-commit:
    • flake8-breakpoint
    • flake8-comprehensions
    • flake8-docstrings
    • flake8-eradicate
    • flake8-mutable

cmake-pre-commit-hooks v1.3.0

27 Jun 19:43
41fc4cd

Choose a tag to compare

Added

  • Support for platform-specific CMake options
    Use --linux, --mac and --win to specify CMake flags that need to be provided only on the specific
    platform. --unix can be used as a shortcut to specifying --linux and --mac.

cmake-pre-commit-hooks v1.2.0

27 Jun 14:12
9e5b5d6

Choose a tag to compare

Added

  • Support for Include-What-You-Use

Fixed

  • Double-dash arguments not present in debug output

Repository

  • Add tests that use pre-commit directly
  • Add isort pre-commit hook

cmake-pre-commit-hooks v1.1.2

26 Jun 21:53
280e007

Choose a tag to compare

Added

  • Added debug command line option to show the exact commands being run when using pre-commit regardless of exit status

Fixed

  • Properly handle double-dash arguments for clang-tidy when multiple files are passed to the hook

cmake-pre-commit-hooks v1.1.1

26 Jun 15:42
4df8fc4

Choose a tag to compare

Updated

  • Added support for CUDA files by default

Fixed

  • Default source directory is now correctly set to the current directory

Repository

  • Fix automatic release publication workflow