mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 02:42:29 +08:00
Use dashes instead of underscores for METADATA.toml field names (#15614)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
version = "3.6.1"
|
||||
upstream_repository = "https://github.com/networkx/networkx"
|
||||
upstream-repository = "https://github.com/networkx/networkx"
|
||||
# requires a version of numpy with a `py.typed` file
|
||||
dependencies = ["numpy>=1.20"]
|
||||
|
||||
[tool.stubtest]
|
||||
# stub_uploader won't allow pandas-stubs in the requires field https://github.com/typeshed-internal/stub_uploader/issues/90
|
||||
stubtest_dependencies = ["pandas"]
|
||||
stubtest-dependencies = ["pandas"]
|
||||
|
||||
@@ -7,7 +7,7 @@ from typing_extensions import Self
|
||||
|
||||
__all__ = ["Config"]
|
||||
|
||||
# TODO: Our pyright test doesn't understand `requires_python` in METADATA.toml
|
||||
# TODO: Our pyright test doesn't understand `requires-python` in METADATA.toml
|
||||
# https://github.com/python/typeshed/issues/14025
|
||||
if sys.version_info >= (3, 10):
|
||||
@dataclass(init=False, eq=False, slots=True, kw_only=True, match_args=False)
|
||||
|
||||
Reference in New Issue
Block a user