mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
I have not updated Python interpreters for legacy bindings in scripts/run_all.sh because I have not checked if manylinux images already exist and work for building wheels. Legacy Python bindings are deprecated and we don't publish new releases for them.
85 lines
2.0 KiB
TOML
85 lines
2.0 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=45"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "deltachat-rpc-client"
|
|
version = "2.18.0"
|
|
description = "Python client for Delta Chat core JSON-RPC interface"
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Operating System :: MacOS :: MacOS X",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Programming Language :: Python :: 3.14",
|
|
"Topic :: Communications :: Chat",
|
|
"Topic :: Communications :: Email"
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
|
|
[tool.setuptools.package-data]
|
|
deltachat_rpc_client = [
|
|
"py.typed"
|
|
]
|
|
|
|
[project.entry-points.pytest11]
|
|
"deltachat_rpc_client.pytestplugin" = "deltachat_rpc_client.pytestplugin"
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
|
|
[tool.ruff]
|
|
lint.select = [
|
|
"E", "W", # pycodestyle
|
|
"F", # Pyflakes
|
|
"N", # pep8-naming
|
|
"I", # isort
|
|
|
|
"ARG", # flake8-unused-arguments
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"COM", # flake8-commas
|
|
"DTZ", # flake8-datetimez
|
|
"ICN", # flake8-import-conventions
|
|
"ISC", # flake8-implicit-str-concat
|
|
"PIE", # flake8-pie
|
|
"PT", # flake8-pytest-style
|
|
"RET", # flake8-return
|
|
"SIM", # flake8-simplify
|
|
"TCH", # flake8-type-checking
|
|
"TID", # flake8-tidy-imports
|
|
"YTT", # flake8-2020
|
|
|
|
"ERA", # eradicate
|
|
|
|
"PLC", # Pylint Convention
|
|
"PLE", # Pylint Error
|
|
"PLW", # Pylint Warning
|
|
|
|
"RUF006" # asyncio-dangling-task
|
|
]
|
|
lint.ignore = [
|
|
"PLC0415" # `import` should be at the top-level of a file
|
|
]
|
|
line-length = 120
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"imap-tools",
|
|
"pytest",
|
|
"pytest-timeout",
|
|
"pytest-xdist",
|
|
]
|