Files
sankalp a3d20860b6 refactor(root): migrate project to src layout and update CLI entry points
New Features
- Add Typer dependency.

Enhancements
- Move packages to src/ layout and update build configuration.
- Change console scripts to use djinit.cli:app.
- Exclude django-new from ruff checks.
- Raise minimum Python version to >=3.10.

Bug Fixes
- none
2026-01-31 22:23:35 +05:45

29 lines
589 B
TOML

# Ruff configuration for djinit
line-length = 120
target-version = "py38"
exclude = ["django-new"]
[lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"E731", # do not assign a lambda expression
]
[lint.per-file-ignores]
"__init__.py" = ["F401"] # imported but unused
[format]
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"