title: Setting up gitlint pre-commit local for a repository
body: <p>I am trying to add a gitlint pre-commit hook in a repository. The <code>.pre-commit-config.yaml</code> file looks lke this:</p>
  <pre><code># See https://pre-commit.com for more information
  # See https://pre-commit.com/hooks.html for more hooks
  repos:
    - repo: local
      hooks:
        - id: gitlint
          name: gitlint
          entry: gitlint
          language: system
  </code></pre>
  <p>However, I keep getting:</p>
  <pre><code>- hook id: gitlint
  - exit code: 253
  
  Usage: gitlint [OPTIONS] COMMAND [ARGS]...
  Try 'gitlint --help' for help.
  
  Error: No such command '.pre-commit-config.yaml'.
  </code></pre>
  <p>This is after I run:</p>
  <pre><code>pip install gitlint
  pre-commit install --hook-type commit-msg
  </code></pre>
  <p>What am I doing wrong?</p>