Skip to content

Commit 3a49409

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c50926e commit 3a49409

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

profiler/profiler_script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- `tox -e profile`
55
- `firefox .tox/prof/output.svg`
66
"""
7+
78
from pathlib import Path
89

910
import tomli

tests/burntsushi.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# SPDX-License-Identifier: MIT
22
# SPDX-FileCopyrightText: 2021 Taneli Hukkinen
33
# Licensed to PSF under a Contributor Agreement.
4-
54
"""Utilities for tests that are in the "burntsushi" format."""
65

76
import datetime
@@ -53,11 +52,14 @@ def convert(obj): # noqa: C901
5352
def normalize(obj: Any) -> Any:
5453
"""Normalize test objects.
5554
56-
This normalizes primitive values (e.g. floats), and also converts from
57-
TOML compliance format [1] to BurntSushi format [2].
55+
This normalizes primitive values (e.g. floats), and also converts
56+
from TOML compliance format [1] to BurntSushi format [2].
5857
59-
[1] https://github.com/toml-lang/compliance/blob/db7c3211fda30ff9ddb10292f4aeda7e2e10abc4/docs/json-encoding.md # noqa: E501
60-
[2] https://github.com/BurntSushi/toml-test/blob/4634fdf3a6ecd6aaea5f4cdcd98b2733c2694993/README.md # noqa: E501
58+
[1]
59+
https://github.com/toml-lang/compliance/blob/db7c3211fda30ff9ddb10292f4aeda7e2e10abc4/docs/json-encoding.md
60+
# noqa: E501 [2]
61+
https://github.com/BurntSushi/toml-test/blob/4634fdf3a6ecd6aaea5f4cdcd98b2733c2694993/README.md
62+
# noqa: E501
6163
"""
6264
if isinstance(obj, list):
6365
return [normalize(item) for item in obj]

0 commit comments

Comments
 (0)