mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-07 00:14:48 -05:00
fix(readme): rename group "Miscellaneous" to "Other"
Avoids a slug collision between the group "Miscellaneous" and the category of the same name once both share the /categories/ URL namespace introduced in the upcoming filter-URL refactor. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -117,7 +117,7 @@ An opinionated guide to the best Python frameworks, libraries, tools, and resour
|
||||
- [Penetration Testing](#penetration-testing)
|
||||
- [Web Security](#web-security)
|
||||
|
||||
**Miscellaneous**
|
||||
**Other**
|
||||
|
||||
- [Hardware](#hardware)
|
||||
- [Microsoft Windows](#microsoft-windows)
|
||||
@@ -1098,7 +1098,7 @@ _Libraries for application-layer web security._
|
||||
|
||||
- [secure](https://github.com/TypeError/secure) - HTTP security headers for Python web applications with ASGI and WSGI middleware.
|
||||
|
||||
**Miscellaneous**
|
||||
**Other**
|
||||
|
||||
## Hardware
|
||||
|
||||
|
||||
@@ -487,10 +487,10 @@ class TestParseRealReadme:
|
||||
assert "https://" not in algos["description"]
|
||||
assert 'href="https://github.com/tayllan/awesome-algorithms"' in algos["description_html"]
|
||||
|
||||
def test_miscellaneous_in_own_group(self):
|
||||
misc_group = next((g for g in self.groups if g["name"] == "Miscellaneous"), None)
|
||||
assert misc_group is not None
|
||||
assert any(c["name"] == "Miscellaneous" for c in misc_group["categories"])
|
||||
def test_miscellaneous_category_in_other_group(self):
|
||||
other_group = next((g for g in self.groups if g["name"] == "Other"), None)
|
||||
assert other_group is not None
|
||||
assert any(c["name"] == "Miscellaneous" for c in other_group["categories"])
|
||||
|
||||
def test_all_entries_have_nonempty_names(self):
|
||||
bad = []
|
||||
|
||||
Reference in New Issue
Block a user