aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-31 16:12:42 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-31 16:12:42 +0000
commit38f02f15781eb251cfd94f6467d2fc8e7fdf9556 (patch)
tree1a8b680497238a46ecf47cb7dc17856f087dc878 /.pre-commit-config.yaml
parentc74ea9e6b4af97be26029334868fa3264032c2d3 (diff)
More comprehensive cleanup and refactor
- **Removal of Unused Files and Directories:** Deleted multiple files and directories that were no longer in use, including configuration files (e.g., `.gitattributes`, `.gitlab-ci.yml`, Docker-related configurations, and documentation files). - **Script and Build Configuration Cleanup:** Removed deployment scripts and Dockerfiles that were outdated, redundant, or no longer aligned with current project requirements. - **Documentation Purge:** Cleared out the documentation directory, including various Sphinx configuration files and content, which are no longer deemed necessary for the project's current state. - **Localization Files Delete:** Removed translation files across multiple languages that were not in use, streamlining localization efforts. - **Test Files Deletion:** Cleaned up test-related files that had no relevance to the remaining codebase. This clean-up aims to enhance project clarity, reduce unnecessary clutter, and set the stage for a more efficient development environment moving forward.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml49
1 files changed, 0 insertions, 49 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
deleted file mode 100644
index d3cb20e..0000000
--- a/.pre-commit-config.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-exclude: '^docs/|/migrations/|devcontainer.json'
-default_stages: [commit]
-
-default_language_version:
- python: python3.11
-
-repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.6.0
- hooks:
- - id: trailing-whitespace
- - id: end-of-file-fixer
- - id: check-json
- - id: check-toml
- - id: check-xml
- - id: check-yaml
- - id: debug-statements
- - id: check-builtin-literals
- - id: check-case-conflict
- - id: check-docstring-first
- - id: detect-private-key
-
- - repo: https://github.com/adamchainz/django-upgrade
- rev: '1.17.0'
- hooks:
- - id: django-upgrade
- args: ['--target-version', '4.2']
-
- # Run the Ruff linter.
- - repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.4.4
- hooks:
- # Linter
- - id: ruff
- args: [--fix, --exit-non-zero-on-fix]
- # Formatter
- #- id: ruff-format
-
- - repo: https://github.com/Riverside-Healthcare/djLint
- rev: v1.34.1
- hooks:
- - id: djlint-reformat-django
- - id: djlint-django
-
-# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date
-ci:
- autoupdate_schedule: weekly
- skip: []
- submodules: false