From e7d9aa5c24f42099de8389bf59d1e262d0f6d761 Mon Sep 17 00:00:00 2001 From: dorschw <81086590+dorschw@users.noreply.github.com> Date: Sat, 12 Aug 2023 14:43:13 +0300 Subject: [PATCH] reorder README --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 273374c..5ed3b37 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,18 @@ # Riff +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff) +[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/) Ruff + diff = Riff Run [**Ruff**](https://ruff.rs)⚡, and filter out violations not caused by your branch. - Riff uses `git diff` to detect code lines modified in the current branch, and filters Ruff's output accordingly. - Riff only fails when violations are detected in modified lines. ### Rationale Ruff doesn't have a baseline feature, so Riff can come handy for enforcing Ruff rules in larger repositories quickly, without having to fix every single existing violation. -## Badges - -[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff) -[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) -[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/) ## Usage