Skip to content

Commit

Permalink
Merge pull request #2092 from macro1/linting
Browse files Browse the repository at this point in the history
Fixes for failing linting checks
  • Loading branch information
macro1 committed May 11, 2024
2 parents fb7d14a + 903ca22 commit 347fec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion piptools/_compat/pip_compat.py
Expand Up @@ -64,7 +64,8 @@ def _from_importlib(cls, dist: _ImportLibDist) -> Distribution:
return cls(dist._dist.name, dist._dist.version, requires, dist.direct_url)


class FileLink(Link):
class FileLink(Link): # type: ignore[misc]
_url: str

@property
def file_path(self) -> str:
Expand Down
5 changes: 0 additions & 5 deletions tests/test_pip_compat.py
@@ -1,13 +1,8 @@
from __future__ import annotations

import os
import tempfile
from pathlib import Path, PurePosixPath

import pytest

from piptools._compat.pip_compat import parse_requirements
from piptools.repositories import PyPIRepository

from .constants import PACKAGES_RELATIVE_PATH

Expand Down

0 comments on commit 347fec5

Please sign in to comment.