chore: add CI, pre-commit, dependabot, and codeql workflows for automated code quality and security checks

This commit is contained in:
sankalp committed 2025-10-29 12:07:07 +05:45
1 parent 6bf155b595
commit 09be9c9e65
6 files changed
+193

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
# Pre-commit hooks for djinit
default_language_version:
python: python3.13
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.4
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files