mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 12:52:10 +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.
19 lines
419 B
Plaintext
19 lines
419 B
Plaintext
[uv]
|
|
# Keep the uv.lock file up to date
|
|
keep-lockfile = true
|
|
|
|
# Cache compiled bytecode for dependencies
|
|
compile-bytecode = true
|
|
|
|
# Use a local cache directory
|
|
local-cache = true
|
|
|
|
# Verbosity of output
|
|
verbosity = "minimal"
|
|
|
|
# Define which part of the environment to check
|
|
environment-checks = ["python", "dependencies"]
|
|
|
|
# How to resolve dependencies not specified with exact versions
|
|
dependency-resolution = "strict"
|