Skip to content

Commit 6088821

Browse files
pre-commit-ci[bot]dimbleby
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cc15ef6 commit 6088821

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

src/poetry/core/spdx/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def license_by_id(identifier: str) -> License:
1717
)
1818

1919

20-
@functools.lru_cache()
20+
@functools.lru_cache
2121
def _load_licenses() -> dict[str, License]:
2222
licenses = {}
2323
licenses_file = os.path.join(os.path.dirname(__file__), "data", "licenses.json")

tests/integration/test_pep517.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from __future__ import annotations
22

3-
import sys
4-
53
from pathlib import Path
64
from typing import TYPE_CHECKING
75

tests/masonry/test_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
from __future__ import annotations
22

33
import os
4-
import platform
5-
import sys
64
import zipfile
75

86
from contextlib import contextmanager
97
from pathlib import Path
108
from typing import TYPE_CHECKING
119
from typing import Iterator
1210

13-
import pytest
14-
1511
from poetry.core import __version__
1612
from poetry.core.masonry import api
1713
from poetry.core.utils.helpers import temporary_directory

0 commit comments

Comments
 (0)