mirror of
https://github.com/daniviga/django-ram.git
synced 2026-02-03 17:40:39 +01:00
* Extend test coverage * Implement query optimization * More aggressing code reuse * Add more indexes and optimize usage * Fix tests * Further optimizations, improve counting to rely on backend DB * chore: add Makefile for frontend asset minification - Add comprehensive Makefile with targets for JS and CSS minification - Implements instructions from ram/portal/static/js/src/README.md - Provides targets: install, minify, minify-js, minify-css, clean, watch - Fix main.min.js to only include theme_selector.js and tabs_selector.js - Remove validators.js from minified output per README instructions * Add a Makefile to compile JS and CSS * docs: add blank line whitespace rule to AGENTS.md Specify that blank lines must not contain any whitespace (spaces or tabs) to maintain code cleanliness and PEP 8 compliance * Update for 0.20 release with optimizations * Improve Makefile
40 lines
915 B
TOML
40 lines
915 B
TOML
[tool.ruff]
|
|
# Exclude patterns matching flake8 config
|
|
exclude = [
|
|
"*settings.py*",
|
|
"*/migrations/*",
|
|
".git",
|
|
".venv",
|
|
"venv",
|
|
"__pycache__",
|
|
"*.pyc",
|
|
]
|
|
|
|
# Target Python 3.13+ as per project requirements
|
|
target-version = "py313"
|
|
|
|
# Line length set to 79 (PEP 8 standard)
|
|
line-length = 79
|
|
|
|
[tool.ruff.lint]
|
|
# Enable Pyflakes (F) and pycodestyle (E, W) rules to match flake8
|
|
select = ["E", "F", "W"]
|
|
|
|
# Ignore E501 (line-too-long) to match flake8 config
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
# Additional per-file ignores if needed
|
|
"*settings.py*" = ["F403", "F405"] # Allow star imports in settings
|
|
"*/migrations/*" = ["E", "F", "W"] # Ignore all rules in migrations
|
|
|
|
[tool.ruff.format]
|
|
# Use double quotes for strings (project preference)
|
|
quote-style = "double"
|
|
|
|
# Use 4 spaces for indentation
|
|
indent-style = "space"
|
|
|
|
# Auto-detect line ending style
|
|
line-ending = "auto"
|