Skip to content

Commit 1cf4d0f

Browse files
authored
docs: drop chat-app from the org profile and site (#130)
1 parent 23488dd commit 1cf4d0f

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎docs/index.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ Every project is built with the same tooling
9393

9494
- [`fastapi-sqlalchemy-template`](https://github.com/modern-python/fastapi-sqlalchemy-template): Dockerized FastAPI + SQLAlchemy 2 + PostgreSQL app template with DI
9595
- [`litestar-sqlalchemy-template`](https://github.com/modern-python/litestar-sqlalchemy-template): Dockerized Litestar + SQLAlchemy 2 + PostgreSQL app template with DI
96-
- [`chat-app`](https://github.com/modern-python/chat-app): Reference chat application for the modern-python organisation
9796

9897
## Dependency injection { #di }
9998

‎profile/README.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Open-source templates and libraries for building production-ready Python applica
1818
|---|---|---|
1919
| [`fastapi-sqlalchemy-template`](https://github.com/modern-python/fastapi-sqlalchemy-template) | Dockerized FastAPI + SQLAlchemy 2 + PostgreSQL app template with DI | [![Stars](https://img.shields.io/github/stars/modern-python/fastapi-sqlalchemy-template)](https://github.com/modern-python/fastapi-sqlalchemy-template/stargazers) |
2020
| [`litestar-sqlalchemy-template`](https://github.com/modern-python/litestar-sqlalchemy-template) | Dockerized Litestar + SQLAlchemy 2 + PostgreSQL app template with DI | [![Stars](https://img.shields.io/github/stars/modern-python/litestar-sqlalchemy-template)](https://github.com/modern-python/litestar-sqlalchemy-template/stargazers) |
21-
| [`chat-app`](https://github.com/modern-python/chat-app) | Reference chat application for the modern-python organisation | [![Stars](https://img.shields.io/github/stars/modern-python/chat-app)](https://github.com/modern-python/chat-app/stargazers) |
2221

2322
### Dependency injection
2423

‎tests/test_profile.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ def _repos(section: str) -> list[str]:
1818

1919
def test_every_listed_project_mark_has_a_profile_row() -> None:
2020
"""INVARIANT: the repos listed in `profile/README.md` are exactly the repos in
21-
`projects.py::MANIFEST` minus the `modern-di-*` integrations.
21+
`projects.py::MANIFEST` minus the `modern-di-*` integrations and `chat-app`.
2222
2323
They are the two halves of one act — a repo joins the org by getting a mark and a
2424
profile row — but nothing links them, so adding, renaming, or unpublishing a repo
2525
updates one and silently leaves the other behind. The failure is invisible: a mark
2626
nobody links to, or a row whose banner 404s. Integrations keep their marks, because
2727
their READMEs load the lockups from this repo, but are listed only on the modern-di
28-
docs site.
28+
docs site. `chat-app` keeps its mark but is not listed.
2929
"""
3030
listed = {repo for section in _sections().values() for repo in _repos(section)}
31-
assert listed == {repo for repo in p.MANIFEST if not repo.startswith("modern-di-")}
31+
assert listed == {repo for repo in p.MANIFEST if not repo.startswith("modern-di-") and repo != "chat-app"}
3232

3333

3434
def test_di_table_lists_only_the_two_frameworks() -> None:

‎tests/test_site.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_home_page_supplies_its_own_h1() -> None:
1919

2020
def test_every_listed_project_mark_has_a_site_entry() -> None:
2121
"""INVARIANT: the repos in the org site's project lists are exactly the repos in
22-
`projects.py::MANIFEST` minus the `modern-di-*` integrations.
22+
`projects.py::MANIFEST` minus the `modern-di-*` integrations and `chat-app`.
2323
2424
It is the site's half of the profile-row invariant. A hand-kept list of expected
2525
repos drifts the same way the page does, so a repo added to the org and the profile
@@ -32,4 +32,4 @@ def test_every_listed_project_mark_has_a_site_entry() -> None:
3232
flags=re.M,
3333
)
3434
)
35-
assert listed == {repo for repo in p.MANIFEST if not repo.startswith("modern-di-")}
35+
assert listed == {repo for repo in p.MANIFEST if not repo.startswith("modern-di-") and repo != "chat-app"}

0 commit comments

Comments
 (0)