hackforla / hackforla/peopledepot

Use Ruff wherever possible for pre-commit

Open
#664 0 comments 0 reactions 0 assignees View on GitHub
complexity: medium feature: infrastructure role: dev ops s: PD team size: 2pt
Dominant language
Python
Stars
14
Forks
37
Avg merge
9d 15h
Merged PRs (30d)
5

Description

### Overview

Ruff is supposedly an order of magnitude faster than other static analysis tools, which is why we want to maximize its usage over other checkers that it reimplemented. Shorter pre-commit check time makes commits faster.

### Action Items

- [ ] look for pre-commit hooks that ruff replaces, and disable them
- [ ] enable the corresponding rule sets in ruff
- [ ] fix any new complaints

### Resources/Instructions

- https://github.com/hackforla/peopledepot/issues/662#issuecomment-4329626925
- [working diff file](https://github.com/user-attachments/files/27140864/git-diff.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.