Skip to content

Commit

Permalink
add more pre-commit-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
copelco committed Jan 27, 2020
1 parent 5d84f4e commit 3b93e1e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,21 @@ repos:
- id: black
language_version: python3.7
exclude: migrations
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: check-docstring-first
- id: check-merge-conflict
- id: check-json
- id: check-yaml
exclude: deployment/inventory.yaml
- id: check-xml
- id: debug-statements
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: end-of-file-fixer
# - id: flake8
# exclude: settings|migrations
- id: no-commit-to-branch
- id: trailing-whitespace
2 changes: 1 addition & 1 deletion RATOM_V1.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@
}
],
"protocolProfileBehavior": {}
}
}
2 changes: 1 addition & 1 deletion deployment/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ansible==2.9.0
openshift==0.10.0
kubernetes-validate==1.16.0
docker==4.1.0
docker==4.1.0
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

1 change: 0 additions & 1 deletion docs/userguide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ Contents:

.. toctree::
:maxdepth: 2

0 comments on commit 3b93e1e

Please sign in to comment.