Skip to content

Commit d7a9168

Browse files
authored
Merge pull request #3106 from vinta/feature/better-seo-2
Static category pages and path-based filter URLs
2 parents 429c9b3 + 0c20fee commit d7a9168

18 files changed

Lines changed: 1811 additions & 295 deletions
File renamed without changes.

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ An opinionated guide to the best Python frameworks, libraries, tools, and resour
117117
- [Penetration Testing](#penetration-testing)
118118
- [Web Security](#web-security)
119119

120-
**Miscellaneous**
120+
**Other**
121121

122122
- [Hardware](#hardware)
123123
- [Microsoft Windows](#microsoft-windows)
@@ -1098,7 +1098,7 @@ _Libraries for application-layer web security._
10981098

10991099
- [secure](https://github.com/TypeError/secure) - HTTP security headers for Python web applications with ASGI and WSGI middleware.
11001100

1101-
**Miscellaneous**
1101+
**Other**
11021102

11031103
## Hardware
11041104

SPONSORSHIP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Your sponsorship puts your product in front of developers at the exact moment th
3737

3838
## Get Started
3939

40-
Email [vinta.chen@gmail.com](mailto:vinta.chen@gmail.com?subject=awesome-python%20Sponsorship) with:
40+
Email [vinta.chen@gmail.com](mailto:vinta.chen@gmail.com?subject=Awesome%20Python%20Sponsorship) with:
4141

4242
- **Tier:** Headline Sponsor ($500/mo) or Featured Sponsor ($150/mo)
4343
- **Content:** Product name, URL, logo, and description (Headline tier) or `[Name](URL) - Description.` entry (Featured tier)

pyproject.toml

Lines changed: 22 additions & 8 deletions
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" },
@@ -23,16 +23,30 @@ dev = [
2323
"watchdog==6.0.0",
2424
]
2525

26-
[tool.pytest.ini_options]
27-
testpaths = ["website/tests"]
28-
pythonpath = ["website"]
29-
30-
[tool.ruff]
31-
line-length = 200
32-
3326
[tool.uv]
3427
exclude-newer = "3 days"
3528
no-build = true
3629

3730
[tool.uv.pip]
3831
only-binary = [":all:"]
32+
33+
[tool.ruff]
34+
line-length = 200
35+
36+
[tool.ty.environment]
37+
python-version = "3.13"
38+
root = ["website"]
39+
40+
[tool.ty.terminal]
41+
error-on-warning = true
42+
43+
[tool.ty.rules]
44+
division-by-zero = "error"
45+
possibly-missing-attribute = "error"
46+
possibly-missing-import = "error"
47+
possibly-unresolved-reference = "error"
48+
unused-ignore-comment = "error"
49+
50+
[tool.pytest.ini_options]
51+
testpaths = ["website/tests"]
52+
pythonpath = ["website"]

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)