Merge pull request #251 from bellingcat/ruff-check

Fix pre-commit for ruff check
This commit is contained in:
Patrick Robertson
2025-03-14 14:22:03 +00:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

View File

@@ -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"]
- id: ruff
- id: ruff-format

View File

@@ -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.

View File

@@ -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"