mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 14:32:12 +01:00
- 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.
12 lines
269 B
Bash
Executable File
12 lines
269 B
Bash
Executable File
#!/bin/bash
|
|
# Run linting, formatting and type checking
|
|
|
|
echo "Running Ruff linter..."
|
|
uv run -m ruff check dashboard_project
|
|
|
|
echo "Running Ruff formatter..."
|
|
uv run -m ruff format dashboard_project
|
|
|
|
echo "Running Black formatter..."
|
|
uv run -m black dashboard_project
|