Skip to content

Commit 2e2b304

Browse files
tmgbeduclaude
andcommitted
feat: add ruff as dev dependency with lint configuration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e3a98f0 commit 2e2b304

2 files changed

Lines changed: 41 additions & 2 deletions

File tree

fastapi_startkit/pyproject.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "fastapi-startkit"
3-
version = "0.13.6"
3+
version = "0.13.7"
44
description = "Fastapi Starter kit components"
55
authors = [
66
{name = "Bedram Tamang", email = "tmgbedu@gmail.com"}
@@ -46,6 +46,7 @@ dev = [
4646
"dumpdie>=1.5.0",
4747
"pytest>=9.0.3",
4848
"pytest-asyncio>=1.3.0",
49+
"ruff>=0.15.12",
4950
"twine>=6.2.0",
5051
]
5152

@@ -59,3 +60,14 @@ build-backend = "uv_build"
5960

6061
[tool.uv]
6162
workspace = { members = ["application", "example/*"] }
63+
64+
[tool.ruff]
65+
line-length = 120
66+
67+
[tool.ruff.lint]
68+
select = ["E", "F", "I"]
69+
ignore = ["E501"]
70+
fixable = ["ALL"]
71+
72+
[tool.ruff.lint.per-file-ignores]
73+
"__init__.py" = ["F401"]

fastapi_startkit/uv.lock

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)