DeepSpaceSearch / pyproject.toml
2stacks's picture
gradio_class (#1)
8af2bcc verified
raw
history blame contribute delete
613 Bytes
[tool.ruff]
# Set line length to 100 characters
line-length = 100
# Target Python 3.12 (matching your project)
target-version = "py312"
# Exclude common directories
exclude = [
".git",
".venv",
"venv",
"__pycache__",
".gradio",
]
[tool.ruff.lint]
# Enable:
# E/W - pycodestyle errors and warnings
# F - Pyflakes
# I - isort (import sorting)
# N - pep8-naming
# UP - pyupgrade (modernize Python code)
select = ["E", "W", "F", "I", "N", "UP"]
# Ignore specific rules if needed
ignore = []
[tool.ruff.lint.isort]
# Sort imports alphabetically within sections
force-sort-within-sections = true