Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 18, 2023
1 parent e0cc64a commit 4d33202
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/poetry/core/spdx/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def license_by_id(identifier: str) -> License:
)


@functools.lru_cache()
@functools.lru_cache
def _load_licenses() -> dict[str, License]:
licenses = {}
licenses_file = os.path.join(os.path.dirname(__file__), "data", "licenses.json")
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/test_pep517.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from __future__ import annotations

import sys

from pathlib import Path
from typing import TYPE_CHECKING

Expand Down
4 changes: 0 additions & 4 deletions tests/masonry/test_api.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
from __future__ import annotations

import os
import platform
import sys
import zipfile

from contextlib import contextmanager
from pathlib import Path
from typing import TYPE_CHECKING
from typing import Iterator

import pytest

from poetry.core import __version__
from poetry.core.masonry import api
from poetry.core.utils.helpers import temporary_directory
Expand Down

0 comments on commit 4d33202

Please sign in to comment.