aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-07-07 03:38:24 -0700
committerFuwn <[email protected]>2025-07-07 03:38:24 -0700
commit391dd281297a58afb0fc0531330cd67cfc872302 (patch)
tree5c0bc493c704fdaf4fe5031ab34a8d78a4ac1f81
parentfeat(schedule): Display genres in table (diff)
downloadoguri-391dd281297a58afb0fc0531330cd67cfc872302.tar.xz
oguri-391dd281297a58afb0fc0531330cd67cfc872302.zip
chore: Add check task
-rw-r--r--justfile3
-rw-r--r--pyproject.toml1
-rw-r--r--requirements-dev.lock1
3 files changed, 5 insertions, 0 deletions
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