Skip to content

Commit 11786af

Browse files
committed
chore: standardize GitHub product naming
1 parent 545df04 commit 11786af

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
FROM python:3.13-slim
55

66
LABEL maintainer="Niklas Tiede <niklastiede2@gmail.com>" \
7-
org.opencontainers.image.title="Github Trending API" \
7+
org.opencontainers.image.title="GitHub Trending API" \
88
org.opencontainers.image.description="API providing data about trending repositories and developers on GitHub" \
99
org.opencontainers.image.source="https://github.com/NiklasTiede/Github-Trending-API" \
1010
org.opencontainers.image.licenses="MIT"

app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Github Trending API application package."""
1+
"""GitHub Trending API application package."""

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
)
2626

2727
app = fastapi.FastAPI()
28-
APP_NAME = "Github Trending API"
28+
APP_NAME = "GitHub Trending API"
2929
APP_VERSION = "1.0.2"
3030
CACHE_TTL_SECONDS = 300
3131
CacheKey = tuple[str, tuple[tuple[str, str], ...]]

tests/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_metadata_route():
4949

5050
assert response.status_code == 200
5151
assert response.json() == {
52-
"name": "Github Trending API",
52+
"name": "GitHub Trending API",
5353
"version": "1.0.2",
5454
"docs": "http://testserver/docs",
5555
"redoc": "http://testserver/redoc",

0 commit comments

Comments
 (0)