fix: correct pyproject.toml for project-scaffold-cli
- Fixed package name from auto-readme-cli to project-scaffold-cli - Fixed dependencies to match project-scaffold-cli requirements - Fixed linting import sorting issues in test files
This commit is contained in:
@@ -3,22 +3,23 @@ requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "auto-readme-cli"
|
||||
version = "0.1.0"
|
||||
description = "A CLI tool that automatically generates comprehensive README.md files by analyzing project structure"
|
||||
name = "project-scaffold-cli"
|
||||
version = "1.0.0"
|
||||
description = "A CLI tool that generates standardized project scaffolding for multiple languages"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
requires-python = ">=3.8"
|
||||
license = {text = "MIT"}
|
||||
authors = [
|
||||
{name = "Auto README Team", email = "team@autoreadme.dev"}
|
||||
{name = "Project Scaffold CLI", email = "dev@example.com"}
|
||||
]
|
||||
keywords = ["cli", "documentation", "readme", "generator", "markdown"]
|
||||
keywords = ["cli", "project", "scaffold", "generator", "template"]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Environment :: Console",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
@@ -26,33 +27,19 @@ classifiers = [
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"click>=8.0.0",
|
||||
"tree-sitter>=0.23.0",
|
||||
"jinja2>=3.1.0",
|
||||
"tomli>=2.0.0; python_version<'3.11'",
|
||||
"requests>=2.31.0",
|
||||
"rich>=13.0.0",
|
||||
"pyyaml>=6.0.0",
|
||||
"gitpython>=3.1.0",
|
||||
"click>=8.0",
|
||||
"jinja2>=3.0",
|
||||
"pyyaml>=6.0",
|
||||
"click-completion>=0.2",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=7.0.0",
|
||||
"pytest-cov>=4.0.0",
|
||||
"black>=23.0.0",
|
||||
"isort>=5.12.0",
|
||||
"flake8>=6.0.0",
|
||||
"pytest>=7.0",
|
||||
"pytest-cov>=4.0",
|
||||
"ruff>=0.1.0",
|
||||
"pre-commit>=3.0.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
auto-readme = "auto_readme.cli:main"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
python_files = ["test_*.py"]
|
||||
@@ -61,7 +48,7 @@ python_functions = ["test_*"]
|
||||
addopts = "-v --tb=short"
|
||||
|
||||
[tool.coverage.run]
|
||||
source = ["src/auto_readme"]
|
||||
source = ["project_scaffold_cli"]
|
||||
omit = ["*/tests/*", "*/__pycache__/*"]
|
||||
|
||||
[tool.coverage.report]
|
||||
@@ -69,15 +56,13 @@ exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"
|
||||
|
||||
[tool.black]
|
||||
line-length = 100
|
||||
target-version = ["py39", "py310", "py311", "py312"]
|
||||
target-version = ["py38", "py39", "py310", "py311", "py312"]
|
||||
include = "\\.pyi?$"
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
line_length = 100
|
||||
skip = [".venv", "venv"]
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py38"
|
||||
|
||||
[tool.flake8]
|
||||
max-line-length = 100
|
||||
exclude = [".venv", "venv", "build", "dist"]
|
||||
per-file-ignores = ["__init__.py: F401"]
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "W", "I"]
|
||||
ignore = ["E501"]
|
||||
|
||||
Reference in New Issue
Block a user