Some checks failed
CI / test (push) Failing after 4m49s
- Add ruff to dev dependencies for CI environment - Remove redundant pip install ruff step - Exclude problematic directories from ruff checks
84 lines
2.0 KiB
TOML
84 lines
2.0 KiB
TOML
[build-system]
|
|
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"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Auto README Team", email = "team@autoreadme.dev"}
|
|
]
|
|
keywords = ["cli", "documentation", "readme", "generator", "markdown"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"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.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",
|
|
]
|
|
|
|
[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",
|
|
"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"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.coverage.run]
|
|
source = ["src/auto_readme"]
|
|
omit = ["*/tests/*", "*/__pycache__/*"]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = ["pragma: no cover", "def __repr__", "raise NotImplementedError"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py39", "py310", "py311", "py312"]
|
|
include = "\\.pyi?$"
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
skip = [".venv", "venv"]
|
|
|
|
[tool.flake8]
|
|
max-line-length = 100
|
|
exclude = [".venv", "venv", "build", "dist"]
|
|
per-file-ignores = ["__init__.py: F401"]
|