Skip to content

Commit 2a0f332

Browse files
authored
Merge pull request #135 from hugovk/format-with-black
2 parents 98d5d0c + f5cdc88 commit 2a0f332

File tree

9 files changed

+743
-499
lines changed

9 files changed

+743
-499
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ repos:
55
- id: ruff
66
args: [--exit-non-zero-on-fix]
77

8+
- repo: https://github.com/psf/black-pre-commit-mirror
9+
rev: 24.4.2
10+
hooks:
11+
- id: black
12+
813
- repo: https://github.com/pre-commit/pre-commit-hooks
914
rev: v4.6.0
1015
hooks:

add-to-pydotorg.py

Lines changed: 200 additions & 138 deletions
Large diffs are not rendered by default.

buildbotapi.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ async def _fetch_text(self, url: str) -> str:
5252
async with self._session.get(url) as resp:
5353
return await resp.text()
5454

55-
async def _fetch_json(
56-
self, url: str
57-
) -> Dict[
55+
async def _fetch_json(self, url: str) -> Dict[
5856
str,
5957
Union[
6058
List[Dict[str, Union[int, bool, str]]],

0 commit comments

Comments
 (0)