Skip to content

Commit 7e6b3c2

Browse files
committed
chore: merge main to 1.0-dev
2 parents a910cbc + 63f4a28 commit 7e6b3c2

4 files changed

Lines changed: 1 addition & 180 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,6 @@ repos:
3131
# ===============================================
3232
# Python Hooks
3333
# ===============================================
34-
# no_implicit_optional for ensuring explicit Optional types
35-
- repo: https://github.com/hauntsaninja/no_implicit_optional
36-
rev: '1.4'
37-
hooks:
38-
- id: no_implicit_optional
39-
args: [--use-union-or]
40-
41-
# Pyupgrade for upgrading Python syntax to newer versions
42-
- repo: https://github.com/asottile/pyupgrade
43-
rev: v3.20.0
44-
hooks:
45-
- id: pyupgrade
46-
args: [--py310-plus] # Target Python 3.10+ syntax, matching project's target
47-
48-
# Autoflake for removing unused imports and variables
49-
- repo: https://github.com/pycqa/autoflake
50-
rev: v2.3.1
51-
hooks:
52-
- id: autoflake
53-
args: [--in-place, --remove-all-unused-imports]
54-
5534
# Ruff for linting and formatting
5635
- repo: https://github.com/astral-sh/ruff-pre-commit
5736
rev: v0.12.0

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ dev = [
123123
"types-protobuf",
124124
"types-requests",
125125
"pre-commit",
126-
"pyupgrade",
127-
"autoflake",
128-
"no_implicit_optional",
129126
"trio",
130127
"uvicorn>=0.35.0",
131128
"pytest-timeout>=2.4.0",

scripts/format.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ if [ -n "$CHANGED_FILES" ]; then
7575
echo "Files to be formatted:"
7676
echo "$CHANGED_FILES"
7777

78-
echo "Running autoflake..."
79-
run_formatter "$CHANGED_FILES" autoflake -i -r --remove-all-unused-imports
8078
echo "Running ruff check (fix-only)..."
8179
run_formatter "$CHANGED_FILES" ruff check --fix-only $RUFF_UNSAFE_FIXES_FLAG
8280
echo "Running ruff format..."

0 commit comments

Comments
 (0)