mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-28 04:13:45 +03:00
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
|
|
[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"]
|
|
|
|
[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]
|
|
version = {attr = "telethon_generator.version.__version__"}
|
|
|
|
[tool.ruff.lint]
|
|
select = ["F", "E", "W", "I", "N", "ANN"]
|
|
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
|
|
]
|