From fed6b513715857bb31c9be4d962acd14a0d0a8be Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Thu, 30 Nov 2023 16:37:12 +0000 Subject: [PATCH] Corrects issues with ruff linting --- {{cookiecutter.__src_folder_name}}/.github/workflows/format.yml | 2 +- {{cookiecutter.__src_folder_name}}/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.__src_folder_name}}/.github/workflows/format.yml b/{{cookiecutter.__src_folder_name}}/.github/workflows/format.yml index d455bd9..e511d2a 100644 --- a/{{cookiecutter.__src_folder_name}}/.github/workflows/format.yml +++ b/{{cookiecutter.__src_folder_name}}/.github/workflows/format.yml @@ -27,4 +27,4 @@ jobs: - name: Lint with ruff run: | ruff check . - ruff format. + ruff format . diff --git a/{{cookiecutter.__src_folder_name}}/pyproject.toml b/{{cookiecutter.__src_folder_name}}/pyproject.toml index 4a60ec3..a385def 100644 --- a/{{cookiecutter.__src_folder_name}}/pyproject.toml +++ b/{{cookiecutter.__src_folder_name}}/pyproject.toml @@ -2,7 +2,7 @@ line-length = 120 select = ["E", "F", "I", "UP"] ignore = ["D203"] -extend-exclude = ["flaskapp/migrations/"] +extend-exclude = ["src/flaskapp/migrations/"] [tool.ruff.isort] {% if cookiecutter.project_backend == "flask" %}