Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup and bump pre-commit #108

Merged
merged 5 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -54,7 +54,7 @@ repos:
files: (src|web|tests)
args: []
additional_dependencies:
- click==8.1.3
- click>=8.1.5
- markdown-it-py
- pytest
- rich
Expand Down
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ classifiers = [
dynamic = ["version"]
dependencies = [
"markdown-it-py",
"pyyaml",
"pyyaml!=6.0.0", # pyyaml 6 is broken with cython 3
henryiii marked this conversation as resolved.
Show resolved Hide resolved
"tomli; python_version < '3.11'",
"typing-extensions; python_version < '3.11'",
]
Expand Down Expand Up @@ -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
Expand All @@ -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