67 lines
No EOL
1.6 KiB
TOML
67 lines
No EOL
1.6 KiB
TOML
[tool.poetry]
|
|
name = "textual-textarea"
|
|
version = "0.15.0"
|
|
description = "A text area (multi-line input) with syntax highlighting for Textual"
|
|
authors = ["Ted Conbeer <tconbeer@users.noreply.github.com>"]
|
|
license = "MIT"
|
|
homepage = "https://github.com/tconbeer/textual-textarea"
|
|
repository = "https://github.com/tconbeer/textual-textarea"
|
|
readme = "README.md"
|
|
packages = [{ include = "textual_textarea", from = "src" }]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.9,<3.14"
|
|
textual = { version = ">=0.89.1,<2.0", extras = ["syntax"] }
|
|
pyperclip = "^1.9.0"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pre-commit = "^3.3.1"
|
|
textual = "0.89.1"
|
|
textual-dev = "^1.2.1"
|
|
pyinstrument = "^5"
|
|
|
|
[tool.poetry.group.static.dependencies]
|
|
ruff = "^0.5"
|
|
mypy = "^1.10.0"
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest = ">=7.3.1,<9.0.0"
|
|
pytest-asyncio = "^0.21"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["A", "B", "E", "F", "I"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.9"
|
|
files = [
|
|
"src/textual_textarea/**/*.py",
|
|
"tests/**/*.py",
|
|
]
|
|
mypy_path = "src:stubs"
|
|
|
|
show_column_numbers = true
|
|
|
|
# show error messages from unrelated files
|
|
follow_imports = "normal"
|
|
|
|
# be strict
|
|
disallow_untyped_calls = true
|
|
disallow_untyped_defs = true
|
|
check_untyped_defs = true
|
|
disallow_untyped_decorators = true
|
|
disallow_incomplete_defs = true
|
|
disallow_subclassing_any = true
|
|
strict_optional = true
|
|
|
|
warn_return_any = true
|
|
warn_no_return = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
warn_unused_configs = true
|
|
|
|
no_implicit_reexport = true
|
|
strict_equality = true |