diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de3fd1e..72610c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 @@ -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