Skip to content

Commit

Permalink
Clean up style of .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tdg5 committed Apr 3, 2024
1 parent e864ea4 commit a8d1e47
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exclude: 'docs|.git|.tox'
default_stages: [ commit ]
exclude: "docs|.git|.tox"
default_stages: [commit]
default_language_version:
python: python3.9
fail_fast: false
Expand All @@ -11,14 +11,14 @@ repos:
name: black
language: system
entry: black
args: [ "service_oriented", "service_oriented_test" ]
types: [ python ]
args: ["service_oriented", "service_oriented_test"]
types: [python]
- id: flake8
name: flake8
language: python
entry: flake8
args: [ "service_oriented", "service_oriented_test" ]
types: [ python ]
args: ["service_oriented", "service_oriented_test"]
types: [python]
additional_dependencies:
- darglint
- dlint
Expand All @@ -32,34 +32,34 @@ repos:
name: Mypy check
entry: mypy
language: system
args: [ "service_oriented", "service_oriented_test" ]
args: ["service_oriented", "service_oriented_test"]
pass_filenames: false
- id: isort
name: isort
entry: isort
args: [ "service_oriented", "service_oriented_test" ]
args: ["service_oriented", "service_oriented_test"]
language: system
- id: safety-production-dependencies-check
name: Safety production dependencies check
entry: safety
args: [ check, --policy-file=.safety-policy.yml, --full-report, --file]
args: [check, --policy-file=.safety-policy.yml, --full-report, --file]
language: system
files: requirements.txt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
exclude: README.md|VERSION
- id: check-docstring-first
- id: debug-statements
- id: name-tests-test
args: [ '--pytest-test-first' ]
args: ["--pytest-test-first"]
exclude: factories.py
- id: requirements-txt-fixer
- id: check-yaml
args: ['--allow-multiple-documents']
args: ["--allow-multiple-documents"]
- id: check-toml
- id: check-json
- id: check-case-conflict
Expand Down

0 comments on commit a8d1e47

Please sign in to comment.