Skip to content

Commit

Permalink
Merge 60600e9 into cb5c3e8
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-salles committed Aug 3, 2022
2 parents cb5c3e8 + 60600e9 commit 48126b9
Show file tree
Hide file tree
Showing 3 changed files with 309 additions and 1,334 deletions.
34 changes: 34 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml # checks yaml files for parseable syntax.
- id: check-added-large-files
- id: check-merge-conflict # checks for files that contain merge conflict strings.
- id: check-toml # checks toml files for parseable syntax.

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8

- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
exclude: ^migrations/

- repo: https://github.com/IamTheFij/docker-pre-commit
rev: 71cd8ff86aa4dd50210ba4d86a9ff5dc6339e9a0
hooks:
- id: docker-compose-check # Checks that docker-compose files are valid


- repo: https://gitlab.com/smop/pre-commit-hooks
rev: df034f88cf92b394e6f00a78fa97a2aa4e270e60
hooks:
- id: check-poetry # Validates the structure of the pyproject.toml file

# todo: add tests

0 comments on commit 48126b9

Please sign in to comment.