Initial commit: Add python-stub-generator project
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
48
pyproject.toml
Normal file
48
pyproject.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "stubgen"
|
||||
version = "0.1.0"
|
||||
description = "A CLI tool that automatically generates Python type stub files (.pyi) from untyped Python code"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
requires-python = ">=3.9"
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
dependencies = [
|
||||
"click>=8.0",
|
||||
"asttokens>=2.0",
|
||||
"typing-extensions>=4.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=7.0",
|
||||
"pytest-cov",
|
||||
]
|
||||
|
||||
[tool.stubgen]
|
||||
exclude_patterns = ["tests/*", "*/__pycache__/*", "*/.venv/*", "*/venv/*"]
|
||||
infer_depth = 3
|
||||
strict_mode = false
|
||||
interactive = false
|
||||
|
||||
[project.scripts]
|
||||
stubgen = "stubgen.cli:main"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["stubgen*"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
python_files = ["test_*.py"]
|
||||
Reference in New Issue
Block a user