yartsu/pyproject.toml

57 lines
1.2 KiB
TOML
Raw Normal View History

2022-06-14 18:35:47 -05:00
[project]
name = "yartsu"
description = "yartsu, another rich terminal screenshot utility"
authors = [
{name = "Daylin Morgan", email = "daylinmorgan@gmail.com"},
]
2022-06-14 23:13:35 -05:00
readme = "README.md"
2022-06-14 18:35:47 -05:00
dependencies = [
2023-05-07 23:35:05 -05:00
"rich>=13.3.5",
2022-06-14 18:35:47 -05:00
"importlib-metadata>=4.11.4; python_version < \"3.8\"",
]
requires-python = ">=3.7"
license = {text = "MIT"}
dynamic = ["version"]
2022-06-15 00:57:19 -05:00
[project.urls]
Homepage = "https://github.com/daylinmorgan/yartsu"
Repository = "https://github.com/daylinmorgan/yartsu"
2022-06-14 18:35:47 -05:00
[project.scripts]
yartsu = "yartsu.cli:main"
2023-05-07 23:35:05 -05:00
[tool.pdm.version]
source = "scm"
2022-06-14 18:35:47 -05:00
[tool.pdm.dev-dependencies]
dev = [
"pre-commit>=2.18.1",
"mypy>=0.961",
]
2022-06-14 23:13:35 -05:00
[tool.pdm.build]
includes = ["src", "src/yartsu/themes"]
2022-06-14 18:35:47 -05:00
[build-system]
requires = ["pdm-pep517>=0.12.0"]
build-backend = "pdm.pep517.api"
[tool.mypy]
check_untyped_defs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_any_unimported = true
warn_return_any = true
warn_unused_ignores = true
no_implicit_optional = true
show_error_codes = true
2023-05-07 23:35:05 -05:00
[tool.ruff]
select = ["F", "E", "W", "I001"]
exclude = ["scripts"]
[tool.ruff.per-file-ignores]
# I guess they don't mind some long lines?
2023-05-09 08:16:52 -05:00
"src/yartsu/_export_format.py" = ["E501"]
"src/yartsu/console.py" = ["E501"]