Skip to content

Commit

Permalink
add pre-commit (carsonfarmer#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
jGaboardi authored Jun 10, 2024
1 parent 3cb9f3b commit 7d3566e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
files: "fastpair\/"
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.8"
hooks:
- id: ruff
- id: ruff-format
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Repository = "https://github.com/carsonfarmer/fastpair"
tests = [
"codecov",
"coverage",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
Expand Down

0 comments on commit 7d3566e

Please sign in to comment.