From a4a59638c047f6e23e8cebdaea51a41a10c9b24b Mon Sep 17 00:00:00 2001 From: Fang Yi Liu Date: Thu, 9 May 2024 14:31:01 -0700 Subject: [PATCH] fix: autoformat files --- .github/ISSUE_TEMPLATE/add-seed-data-to-a-table.md | 4 ++-- .pre-commit-config.yaml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/add-seed-data-to-a-table.md b/.github/ISSUE_TEMPLATE/add-seed-data-to-a-table.md index e1dd050f..cc875064 100644 --- a/.github/ISSUE_TEMPLATE/add-seed-data-to-a-table.md +++ b/.github/ISSUE_TEMPLATE/add-seed-data-to-a-table.md @@ -30,6 +30,6 @@ We need to add seed data for the [Replace with TABLE NAME] table, because it won - 1.02 tables folder: https://github.com/hackforla/peopledepot/blob/main/app/core/migrations/ #### Resources gathered during the completion of this issue -- 2.01 table: -- 2.02 json file (after commit): +- 2.01 table: +- 2.02 json file (after commit): - 2.03 script that adds seed data: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c141131..0757d76f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,13 +68,13 @@ repos: hooks: - id: blacken-docs additional_dependencies: - - black==24.2.0 + - black==24.2.0 - repo: https://github.com/pycqa/flake8 rev: 7.0.0 hooks: - id: flake8 - exclude: '^app/core/migrations/|^app/data/migrations/|^app/core/scripts' + exclude: "^app/core/migrations/|^app/data/migrations/|^app/core/scripts" args: [--max-line-length=119, --max-complexity=4, --pytest-fixture-no-parentheses] additional_dependencies: [ @@ -108,7 +108,7 @@ repos: - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.10.0.1 hooks: - - id: shellcheck + - id: shellcheck # - repo: https://github.com/econchick/interrogate # rev: 1.4.0 @@ -128,7 +128,7 @@ repos: hooks: # Run the linter. - id: ruff - args: [ --fix ] + args: [--fix] exclude: ^app/core/migrations/ # Run the formatter. - id: ruff-format @@ -175,4 +175,4 @@ repos: pass_filenames: false ci: - skip: [check-django-migrations] + skip: [check-django-migrations]