Skip to content
Snippets Groups Projects
Select Git revision
  • 23f8a606240feafd9b29db32f1cdbb060469c0ed
  • master default protected
  • cmp_tool-improvement
  • v0.15
  • v0.14
  • v0.13
  • v0.12
  • v0.11
  • v0.09
  • v0.08
  • v0.07
  • v0.06
  • v0.05
13 results

cmp_tool

  • Clone with SSH
  • Clone with HTTPS
  • Dominik Loidolt's avatar
    Dominik Loidolt authored
    This commit introduces a pre-commit configuration file
    (.pre-commit-config.yaml) to ensure code quality and consistency by
    automatically running various checks and fixes before commits are
    finalized.
    
    Quick start
    ===========
    1. Install pre-commit
    Before you can run hooks, you need to have the pre-commit package
    manager installed.
    Using pip:
    pip install pre-commit
    
    2. Install the git hook scripts
    run:
    pre-commit install
    to set up the git hook scripts
    
    Now pre-commit will run automatically on git commit!
    
    3. (optional) Run against all the files
    It's usually a good idea to run the hooks against all of the files when
    adding new hooks (usually pre-commit will only run on the changed files
    during git hooks):
    pre-commit run --all-files
    
    For more information see https://pre-commit.com
    23f8a606
    History
    Name Last commit Last update