Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 8, 2025
2 parents 700c8a4 + d587ff7 commit 5f5b2e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
rev: v0.9.9
hooks:
- id: ruff
args: [--fix, --unsafe-fixes]
Expand Down
13 changes: 5 additions & 8 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ extend = "pyproject.toml"
[lint]
extend-select = [
# upstream

"C901", # complex-structure
"I", # isort
"PERF401", # manual-list-comprehension
"W", # pycodestyle Warning

# Ensure modern type annotation syntax and best practices

# Ensure modern type annotation syntax and best practices
# Not including those covered by type-checkers or exclusive to Python 3.11+
"FA", # flake8-future-annotations
"F404", # late-future-import
Expand All @@ -26,7 +25,7 @@ extend-select = [
]
ignore = [
# upstream

# Typeshed rejects complex or non-literal defaults for maintenance and testing reasons,
# irrelevant to this project.
"PYI011", # typed-argument-default-in-stub
Expand All @@ -43,10 +42,8 @@ ignore = [
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",

# local
# local
]

[format]
Expand Down

0 comments on commit 5f5b2e5

Please sign in to comment.