From d6cf806be6d3117d087f604ba74f2d966cb89591 Mon Sep 17 00:00:00 2001 From: Markus Sagen Date: Fri, 8 Dec 2023 17:41:08 +0100 Subject: [PATCH] update liniting and formatting --- .github/workflows/test-and-lint.yml | 4 ++-- .pre-commit-config.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-and-lint.yml b/.github/workflows/test-and-lint.yml index 5dfe172..4486846 100644 --- a/.github/workflows/test-and-lint.yml +++ b/.github/workflows/test-and-lint.yml @@ -7,7 +7,7 @@ on: - main env: - PROJECT_NAME: copilot + PROJECT_NAME: rejx PYTHON_VERSION: "3.10.10" jobs: @@ -48,7 +48,7 @@ jobs: - name: Run Code Linting run: | - ruff --output-format=github --fix --preview --unsafe-fixes src + ruff --fix --preview --unsafe-fixes src make lint unit_tests: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22c0d5a..0552f7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -62,10 +62,10 @@ repos: # ruff - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.1.2 + rev: v0.1.6 hooks: - id: ruff - args: [ "--fix", "--preview" ] + args: [ "--fix", "--preview", "--unsafe-fixes" ] ci: autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks