mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-15 16:27:09 +08:00
Version 0.10.1 release
This commit is contained in:
@@ -12,7 +12,7 @@ dependencies = [
|
||||
|
||||
setup(
|
||||
name="django-stubs-ext",
|
||||
version="0.3.1",
|
||||
version="0.4.0",
|
||||
description="Monkey-patching and extensions for django-stubs",
|
||||
long_description=readme,
|
||||
long_description_content_type="text/markdown",
|
||||
@@ -30,7 +30,6 @@ setup(
|
||||
classifiers=[
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
|
||||
6
setup.py
6
setup.py
@@ -7,7 +7,7 @@ from setuptools import find_packages
|
||||
|
||||
def find_stub_files(name: str) -> List[str]:
|
||||
result = []
|
||||
for root, dirs, files in os.walk(name):
|
||||
for root, _dirs, files in os.walk(name):
|
||||
for file in files:
|
||||
if file.endswith(".pyi"):
|
||||
if os.path.sep in root:
|
||||
@@ -23,7 +23,7 @@ with open("README.md") as f:
|
||||
dependencies = [
|
||||
"mypy>=0.930,<0.950",
|
||||
"django",
|
||||
"django-stubs-ext>=0.3.0",
|
||||
"django-stubs-ext>=0.4.0",
|
||||
"tomli",
|
||||
# Types:
|
||||
"typing-extensions",
|
||||
@@ -33,7 +33,7 @@ dependencies = [
|
||||
|
||||
setup(
|
||||
name="django-stubs",
|
||||
version="1.10.0",
|
||||
version="1.10.1",
|
||||
description="Mypy stubs for Django",
|
||||
long_description=readme,
|
||||
long_description_content_type="text/markdown",
|
||||
|
||||
Reference in New Issue
Block a user