Add initial project
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Ruff configuration for HabitForge
|
||||
|
||||
[lint]
|
||||
# Enable pycodestyle (E), pyflakes (F), and isort (I)
|
||||
select = ["E", "F", "I"]
|
||||
|
||||
# Exclude directories
|
||||
exclude = [
|
||||
".git",
|
||||
".venv",
|
||||
"venv",
|
||||
"__pycache__",
|
||||
".mypy_cache",
|
||||
".pytest_cache",
|
||||
"build",
|
||||
"dist",
|
||||
"migrations"
|
||||
]
|
||||
|
||||
# Line length
|
||||
line-length = 100
|
||||
|
||||
[format]
|
||||
# Use double quotes for strings
|
||||
quote-style = "double"
|
||||
|
||||
# Indentation
|
||||
indent-style = "space"
|
||||
indent-width = 4
|
||||
|
||||
[per-file-ignores]
|
||||
# Ignore specific files
|
||||
".env.*" = "E501"
|
||||
|
||||
[isort]
|
||||
# Import sorting
|
||||
known-first-party = ["backend"]
|
||||
Reference in New Issue
Block a user