Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ repos:
- id: ruff
args: [--exit-non-zero-on-fix]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand Down
338 changes: 200 additions & 138 deletions add-to-pydotorg.py

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions buildbotapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ async def _fetch_text(self, url: str) -> str:
async with self._session.get(url) as resp:
return await resp.text()

async def _fetch_json(
self, url: str
) -> Dict[
async def _fetch_json(self, url: str) -> Dict[
str,
Union[
List[Dict[str, Union[int, bool, str]]],
Expand Down
Loading