Skip to content

Commit 63f4a28

Browse files
authored
chore(deps): Remove unneeded dev dependencies (#830)
``` "pyupgrade", "autoflake", "no_implicit_optional", ``` Already covered by ruff
1 parent 2974028 commit 63f4a28

4 files changed

Lines changed: 1 addition & 174 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
@@ -102,9 +102,6 @@ dev = [
102102
"types-protobuf",
103103
"types-requests",
104104
"pre-commit",
105-
"pyupgrade",
106-
"autoflake",
107-
"no_implicit_optional",
108105
"trio",
109106
"uvicorn>=0.35.0",
110107
"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)