From 391dd281297a58afb0fc0531330cd67cfc872302 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 7 Jul 2025 03:38:24 -0700 Subject: chore: Add check task --- justfile | 3 +++ pyproject.toml | 1 + requirements-dev.lock | 1 + 3 files changed, 5 insertions(+) diff --git a/justfile b/justfile index 1cc91cf..72058be 100644 --- a/justfile +++ b/justfile @@ -9,3 +9,6 @@ run *arguments: format: rye run yapf src/oguri --recursive --in-place --style yapf + +check: + rye run ruff check src/oguri diff --git a/pyproject.toml b/pyproject.toml index 8d2962b..b7c2036 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ build-backend = "hatchling.build" managed = true dev-dependencies = [ "yapf>=0.43.0", + "ruff>=0.12.2", ] [tool.hatch.metadata] diff --git a/requirements-dev.lock b/requirements-dev.lock index ef226b4..cd15afc 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -67,6 +67,7 @@ pygments==2.19.2 # via rich rich==14.0.0 # via oguri +ruff==0.12.2 sniffio==1.3.1 # via anyio toml==0.10.2 -- cgit v1.2.3