mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 09:22:09 +01:00
Add configuration and scripts for linting, testing, and dependency management
- Introduced .pre-commit-config.yaml for pre-commit hooks using uv-pre-commit. - Created lint.sh script to run Ruff and Black for linting and formatting. - Added test.sh script to execute tests with coverage reporting. - Configured .uv file for uv settings including lockfile management and dependency resolution. - Updated Makefile with targets for virtual environment setup, dependency installation, linting, testing, formatting, and database migrations. - Established requirements.txt with main and development dependencies for the project.
This commit is contained in:
@ -18,7 +18,8 @@ indent_size = 4
|
||||
|
||||
# HTML and Django/Jinja2 template files
|
||||
[*.{html,htm}]
|
||||
indent_size = 2
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
# Allow prettier to format Django/Jinja templates properly
|
||||
# The following comment options can be used in individual files if needed:
|
||||
# <!-- prettier-ignore -->
|
||||
@ -26,6 +27,7 @@ indent_size = 2
|
||||
|
||||
# CSS, JavaScript, and JSON files
|
||||
[*.{css,scss,js,json}]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# Markdown files
|
||||
|
||||
Reference in New Issue
Block a user