Skip to content

Update versions in pre-commit hooks

Marco Clemencic requested to merge update-clang-format into master

This is not strictly needed, but it's good to update the pre-commit hooks versions once in a while.

  • clang-format updated to 16.0.3
    • made some changes in the way =s are aligned
  • black updated to 23.9.1
    • removed some previously enforced blank lines
  • flake8 updated to 6.1.0
    • new E721 (do not compare types, use 'isinstance()') violations detected
  • added JSON and Javascript formatting (thanks to clang-format)
  • added a few default pre-commit checks (from pre-commit sample-config)
    • fix trailing spaces
    • ensure files end with (1) newline
    • check syntax of YAML files
    • prevent commit of large files
Edited by Marco Clemencic

Merge request reports