diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78421d7..aca3a0d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,8 +3,5 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.9.10 hooks: - - id: ruff-format - - # Runs Ruff linting - just checks without fixing, but blocks commit if errors are found. -# - id: ruff -# args: ["--output-format=concise"] \ No newline at end of file + - id: ruff + - id: ruff-format \ No newline at end of file diff --git a/docs/source/development/style_guide.md b/docs/source/development/style_guide.md index c3764c1..390f11a 100644 --- a/docs/source/development/style_guide.md +++ b/docs/source/development/style_guide.md @@ -17,6 +17,9 @@ poetry run pre-commit install Ruff can also be to run automatically. Alternative: Ruff can also be [integrated with most editors](https://docs.astral.sh/ruff/editors/setup/) for real-time formatting. +If you wish to disable the pre-commit hook (for example, if you want to commit some WIP code) you can use the `--no-verify` flag when you commit. +For example: `git commit -m "WIP Code" --no-verify` + ### **Linting (Check Before Pushing) 🔍** We recommend you also run the linter before pushing code. diff --git a/pyproject.toml b/pyproject.toml index 744b327..6896e6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [project] name = "auto-archiver" -version = "0.13.5" +version = "0.13.6" description = "Automatically archive links to videos, images, and social media content from Google Sheets (and more)." requires-python = ">=3.10,<3.13"