This commit is contained in:
Chenric 2024-09-21 20:22:25 +08:00
parent 8d905cb647
commit 9944ece153

View File

@ -40,24 +40,10 @@ distribution = true
[tool.ruff] [tool.ruff]
line-length = 80 line-length = 80
[tool.ruff.format] [tool.ruff.format]
quote-style = "single" quote-style = "single"
indent-style = "tab" indent-style = "tab"
[tool.pdm.scripts]
build = 'pdm run setup.py sdist'
publish = 'pdm run python -m twine upload dist/*'
[tool.ruff.lint] [tool.ruff.lint]
ignore = ["E402"] ignore = ["E402"]
# 以下为智普 AI 生成,还不知道这玩意有啥用。
# [tool.pdm.dev-dependencies]
# black = "^23.1.0"
# isort = "^5.10.1"
# pre-commit = "^2.20.0"
# [tool.pdm.global-options]
# --no-pip-version-check = true