Telethon/generator/pyproject.toml

48 lines
1.4 KiB
TOML
Raw Normal View History

2023-07-03 20:19:20 +03:00
[project]
name = "telethon_generator"
description = "Code generator for Telethon"
authors = [
{ name="Lonami", email="totufals@hotmail.com" },
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
keywords = ["telegram", "parser", "codegen", "telethon"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: File Formats",
"Topic :: Software Development :: Code Generators",
"Typing :: Typed",
]
dynamic = ["version"]
dependencies = ["typing-extensions~=4.12.2"]
[project.optional-dependencies]
dev = ["pytest~=7.3"]
2023-07-03 20:19:20 +03:00
[project.urls]
"Homepage" = "https://telethon.dev/"
"Source" = "https://telethon.dev/code/"
"Documentation" = "https://telethon.dev/docs/"
"Bug Tracker" = "https://telethon.dev/issues/"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
2023-10-16 18:19:56 +03:00
version = {attr = "telethon_generator.version.__version__"}
2023-10-12 19:17:41 +03:00
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N", "ANN"]
2023-10-12 19:17:41 +03:00
ignore = [
"E501", # formatter takes care of lines that are too long besides documentation
"ANN101", # Missing type annotation for `self` in method
"ANN102", # Missing type annotation for `cls` in classmethod
"ANN401", # Dynamically typed expressions (typing.Any) are not type checked
2023-10-12 19:17:41 +03:00
]