[build-system] requires = ["setuptools", "wheel", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [project] name = "HDIKY" description = "Finding out how you know someone on matrix (without asking)" readme = {file = "README.md", content-type = "text/markdown"} requires-python = ">=3.9,<3.13" license = { text = "GNU GPLv3" } authors = [ {name = "Nexus", email = "pip@nexy7574.co.uk"} ] dynamic = ["version"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Communications", "Topic :: Internet", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Utilities" ] dependencies = [ "matrix-nio~=0.24", "appdirs~=1.4", "rich~=13.7", "click~=8.1", "httpx~=0.27", "toml~=0.10" ] # [project.urls] # Source = "https://github.com/nexy7574/nio-bot" # Tracker = "https://github.com/nexy7574/nio-bot/issues" # Documentation = "https://docs.nio-bot.dev/stable" # "Matrix Room" = "https://nio-bot.dev/support" # Funding = "https://ko-fi.com/nexy7574" # Homepage = "https://nio-bot.dev" # Changelog = "https://docs.nio-bot.dev/stable/changelog" [project.scripts] hdiky = "hdiky.main:main" [tool.setuptools_scm] write_to = "src/hdiky/__version__.py" [tool.ruff] # Replacement for isort & black exclude = [".git"] target-version = "py39" line-length = 120 indent-width = 4 respect-gitignore = true [tool.ruff.lint] fixable = ["ALL"] ignore = ["F403", "F405"] select = [ "E", # pycodestyle "F", # Pyflakes "I001", # isort ] [tool.ruff.format] quote-style = "double" indent-style = "space" skip-magic-trailing-comma = false line-ending = "auto" [tool.ruff.lint.isort] case-sensitive = true combine-as-imports = true detect-same-package = true [tool.ruff.lint.pycodestyle] max-doc-length = 120 max-line-length = 120