From f5e4aeda15c7df6a8e08bdb5940ab91148955cd1 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 17 Jul 2023 12:21:04 -0400 Subject: [PATCH] chore: cleanup and bump pre-commit Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d70369b..2ba87cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,4 +106,4 @@ jobs: - name: Run repo-review action uses: ./ with: - plugins: sp-repo-review==2023.06.01 + plugins: sp-repo-review==2023.07.13 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d9debcf..7d3f59c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: additional_dependencies: [black==23.7.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.0.277" + rev: "v0.0.278" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -54,7 +54,7 @@ repos: files: (src|web|tests) args: [] additional_dependencies: - - click==8.1.3 + - click - markdown-it-py - pytest - rich diff --git a/pyproject.toml b/pyproject.toml index 1566e29..f48ac8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -160,7 +160,6 @@ extend-ignore = [ "E501", # Line too long "PT004", # Incorrect check, usefixtures is the correct way to do this ] -target-version = "py310" src = ["src"] unfixable = [ "T20", # Removes print statements @@ -182,6 +181,3 @@ flake8-unused-arguments.ignore-variadic-names = true [tool.ruff.per-file-ignores] "src/repo_review/_compat/**.py" = ["TID251"] "src/**/__main__.py" = ["T20"] - -[tool.repo-review] -ignore = ["PC190"] # Remove after first July 2023 release of sp-repo-review