Skip to content

Commit 432a1f4

Browse files
vintaclaude
andcommitted
build: add lint, format, typecheck make targets and ty dependency
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d3f35a9 commit 432a1f4

3 files changed

Lines changed: 42 additions & 3 deletions

File tree

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ fetch_github_stars:
1010
test:
1111
uv run pytest website/tests/ -v
1212

13+
lint:
14+
uv run ruff check .
15+
16+
format:
17+
uv run ruff format .
18+
19+
typecheck:
20+
uv run ty check website
21+
1322
build:
1423
uv run python website/build.py
1524

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Repository = "https://github.com/vinta/awesome-python"
1414

1515
[dependency-groups]
1616
build = ["httpx==0.28.1", "jinja2==3.1.6", "markdown-it-py==4.0.0"]
17-
lint = ["ruff==0.15.6"]
17+
lint = ["ruff==0.15.6", "ty==0.0.33"]
1818
test = ["pytest==9.0.3"]
1919
dev = [
2020
{ include-group = "build" },

uv.lock

Lines changed: 32 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)