Files
mdclient/pyproject.toml
Timmy 1f8b7858c3 Fix Black target-version and format code
- Remove py312 from Black target-version (unsupported)
- Format mdclient/auth.py and mdclient/client.py with Black
- Update code style: double quotes for strings

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-03-17 14:40:34 +08:00

59 lines
1.4 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mdclient"
version = "0.1.0"
description = "Markdown 笔记服务的 Python 客户端库"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Your Name", email = "your.email@example.com"}
]
keywords = ["markdown", "notes", "codimd", "hedgedoc", "hackmd", "api", "client"]
classifiers = [
"Development Status :: 3 - Alpha",
"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",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dependencies = [
"requests>=2.28.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=22.0.0",
"flake8>=5.0.0",
"mypy>=0.990",
]
env = [
"python-dotenv>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/yourusername/mdclient"
Repository = "https://github.com/yourusername/mdclient"
Issues = "https://github.com/yourusername/mdclient/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["mdclient*"]
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true