From c2bc8ec8229834c468cf9c2599a0c59bfc437c14 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 22 Apr 2026 22:49:42 +0200 Subject: Restructure the code and remove functionality that doesn't belong in pygitchecker.py (-C, -f, -m, -r) --- sample_config.json | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'sample_config.json') diff --git a/sample_config.json b/sample_config.json index 81b1e15..fcc68cd 100644 --- a/sample_config.json +++ b/sample_config.json @@ -1,15 +1,17 @@ { + "ignore_dirs": [".git", ".venv"], + "target_extensions": [".py"], "tests": [ - {"name": "black", - "params": ["black", "--check", "--diff", "--no-color", "-q", "%p"], - "check": true}, - {"name": "pyflakes", "params": ["pyflakes", "%p"], "check": true}, - {"name": "isort", - "params": ["isort", "--check", "--diff", "%p"], - "check": true}, - {"name": "pylint", - "params": ["pylint", "-r", "no", "--exit-zero", "%p"], - "check": true} + { + "name": "ruff_format", + "params": ["/usr/bin/ruff", "format", "--diff", "-q", "%p"], + "check": true + }, + { + "name": "ruff_check", + "params": ["ruff", "check", "%p"], + "check": false + } ] } -- cgit v1.3