Skip to content

Commit

Permalink
Remove 3.7 remnants in docs/metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Feb 25, 2024
1 parent 6fcb714 commit 76b370b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Projects for which ``typeshed_client`` could be useful include:
Installation
------------

``typeshed_client`` works on Python 3.7 and higher. To install it, run
``typeshed_client`` works on all supported versions of Python. To install it, run
``python3 -m pip install typeshed_client``.

Finding stubs
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ exclude = [
]

[tool.ruff]

line-length = 100
target-version = "py38"
preview = true
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ def find_bundled_files() -> Iterable[str]:
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
],
python_requires=">=3.7",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion=2.3.1
envlist = py37,py38,py39,py310,py311,py312,black,mypy
envlist = py38,py39,py310,py311,py312,black,mypy
isolated_build = True

[testenv]
Expand Down
6 changes: 1 addition & 5 deletions typeshed_client/typeshed/typing.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,7 @@ if sys.version_info >= (3, 10):

class NewType:
def __init__(self, name: str, tp: Any) -> None: ...
if sys.version_info >= (3, 11):
@staticmethod
def __call__(__x: _T) -> _T: ...
else:
def __call__(self, x: _T) -> _T: ...
def __call__(self, __x: _T) -> _T: ...

def __or__(self, other: Any) -> _SpecialForm: ...
def __ror__(self, other: Any) -> _SpecialForm: ...
Expand Down

0 comments on commit 76b370b

Please sign in to comment.