remove ruff
This commit is contained in:
@@ -19,7 +19,6 @@ dependencies = [
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"ruff>=0.12.0",
|
||||
"pyright>=1.1.398",
|
||||
"mypy>=1.17.0",
|
||||
"black>=25.1.0",
|
||||
@@ -31,39 +30,6 @@ required-environments = [
|
||||
"sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py313"
|
||||
line-length = 88
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["ALL"]
|
||||
ignore = [
|
||||
"PLR0913",
|
||||
"PLR0915",
|
||||
"S101",
|
||||
"ASYNC210",
|
||||
"D205",
|
||||
"N806",
|
||||
"ISC001",
|
||||
# Test-specific ignores
|
||||
"PLC0415", # imports not at top-level (needed for async test mocking)
|
||||
"S108", # /tmp paths in tests
|
||||
"ARG001", # unused fixture arguments (needed for fixture chain)
|
||||
"ANN401", # Any type usage (needed for CustomBotManager typing)
|
||||
"PLR2004", # magic number comparisons
|
||||
"SLF001", # private member access (testing internals)
|
||||
"TRY002", # custom exception classes
|
||||
"TRY003", # long exception messages
|
||||
"EM101", # string literals in exceptions
|
||||
"TC003", # stdlib import in type-checking block
|
||||
"F401", # unused imports (bytesio used in isinstance)
|
||||
"SIM117", # nested with statements (needed for test fixtures)
|
||||
"PT018", # assertion breakdown (test-specific patterns)
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["vibe_bot"]
|
||||
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
python_version = "3.13"
|
||||
|
||||
Reference in New Issue
Block a user