|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools", "wheel"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "twitchio-ext-oauth-relay" |
| 7 | +authors = [{ name = "PythonistaGuild" }] |
| 8 | +dynamic = ["dependencies", "version"] |
| 9 | +description = "OAuth Relaay extension for use with TwitchIO and https://twitchio.id" |
| 10 | +readme = "README.md" |
| 11 | +requires-python = ">=3.11" |
| 12 | +classifiers = [ |
| 13 | + "License :: OSI Approved :: MIT License", |
| 14 | + "Intended Audience :: Developers", |
| 15 | + "Natural Language :: English", |
| 16 | + "Operating System :: OS Independent", |
| 17 | + "Programming Language :: Python :: 3.11", |
| 18 | + "Programming Language :: Python :: 3.12", |
| 19 | + "Programming Language :: Python :: 3.13", |
| 20 | + "Topic :: Internet", |
| 21 | + "Topic :: Software Development :: Libraries", |
| 22 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 23 | + "Topic :: Utilities", |
| 24 | +] |
| 25 | + |
| 26 | +[project.urls] |
| 27 | +Homepage = "https://github.com/PythonistaGuild/twitchio-ext-oauth-relay" |
| 28 | +Documentation = "https://github.com/PythonistaGuild/twitchio-ext-oauth-relay/README.md" |
| 29 | +"Issue tracker" = "https://github.com/PythonistaGuild/twitchio-ext-oauth-relay/issues" |
| 30 | + |
| 31 | +[tool.setuptools] |
| 32 | +packages = [ |
| 33 | + "twitchio.ext.oauth_relay" |
| 34 | +] |
| 35 | +include-package-data = true |
| 36 | + |
| 37 | +[tool.setuptools.dynamic] |
| 38 | +dependencies = { file = ["requirements.txt"] } |
| 39 | + |
| 40 | +[tool.ruff] |
| 41 | +line-length = 125 |
| 42 | +target-version = "py311" |
| 43 | +indent-width = 4 |
| 44 | +exclude = ["venv", ".venv", "examples", "__pycache__"] |
| 45 | + |
| 46 | +[tool.ruff.lint] |
| 47 | +select = [ |
| 48 | + "C4", |
| 49 | + "E", |
| 50 | + "F", |
| 51 | + "G", |
| 52 | + "I", |
| 53 | + "PTH", |
| 54 | + "RUF", |
| 55 | + "SIM", |
| 56 | + "TC", |
| 57 | + "UP", |
| 58 | + "W", |
| 59 | + "PERF", |
| 60 | + "ANN", |
| 61 | +] |
| 62 | +ignore = [ |
| 63 | + "F402", |
| 64 | + "F403", |
| 65 | + "F405", |
| 66 | + "PERF203", |
| 67 | + "RUF001", |
| 68 | + "RUF009", |
| 69 | + "SIM105", |
| 70 | + "UP034", |
| 71 | + "UP038", |
| 72 | + "ANN401", |
| 73 | + "UP031", |
| 74 | + "PTH123", |
| 75 | + "E203", |
| 76 | + "E501", |
| 77 | +] |
| 78 | + |
| 79 | +[tool.ruff.lint.isort] |
| 80 | +split-on-trailing-comma = true |
| 81 | +combine-as-imports = true |
| 82 | +lines-after-imports = 2 |
| 83 | + |
| 84 | +[tool.ruff.lint.flake8-annotations] |
| 85 | +allow-star-arg-any = true |
| 86 | + |
| 87 | +[tool.ruff.lint.flake8-quotes] |
| 88 | +inline-quotes = "double" |
| 89 | + |
| 90 | +[tool.ruff.format] |
| 91 | +quote-style = "double" |
| 92 | +indent-style = "space" |
| 93 | +skip-magic-trailing-comma = false |
| 94 | +line-ending = "auto" |
| 95 | + |
| 96 | +[tool.pyright] |
| 97 | +exclude = [".venv", "venv", "examples", "__pycache__"] |
| 98 | +useLibraryCodeForTypes = true |
| 99 | +typeCheckingMode = "strict" |
| 100 | +reportImportCycles = false |
| 101 | +reportPrivateUsage = false |
| 102 | +pythonVersion = "3.11" |
0 commit comments