Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

requirements-dev.txt

Blame
    • Rafael Guterres Jeffman's avatar
      8c7d57e9
      Add pre-commit configuration for linters. · 8c7d57e9
      Rafael Guterres Jeffman authored
      This patch adds another lever of linter checking for ansible-freeipa
      by enabling linters to run on the developer machine, before pushing
      changes to be evaluated on the CI, allowing code fixes without
      wating for CI to run the linters on the repository.
      
      To enable pre-commit hooks, `pre-commit` is used, and was added to
      requirements-dev.txt, and can be installed with pip
      (`pip install -r requirements-dev.txt`). Once installed, on every
      commit, YAML and python files on the commit will be evaluated.
      
      If one needs to bypass the pre-commit linters, `git commit` can be
      issued with `--no-verify`.
      
      The linters will not be removed from the CI, as a commit can be
      performed without running the checks.
      8c7d57e9
      History
      Add pre-commit configuration for linters.
      Rafael Guterres Jeffman authored
      This patch adds another lever of linter checking for ansible-freeipa
      by enabling linters to run on the developer machine, before pushing
      changes to be evaluated on the CI, allowing code fixes without
      wating for CI to run the linters on the repository.
      
      To enable pre-commit hooks, `pre-commit` is used, and was added to
      requirements-dev.txt, and can be installed with pip
      (`pip install -r requirements-dev.txt`). Once installed, on every
      commit, YAML and python files on the commit will be evaluated.
      
      If one needs to bypass the pre-commit linters, `git commit` can be
      issued with `--no-verify`.
      
      The linters will not be removed from the CI, as a commit can be
      performed without running the checks.