| 1 | [build-system] |
| 2 | requires = ["setuptools"] |
| 3 | build-backend = "setuptools.build_meta" |
| 4 | |
| 5 | [project] |
| 6 | name = "linkify-it-py" |
| 7 | authors = [{ name = "tsutsu3" }] |
| 8 | description = "Links recognition library with FULL unicode support." |
| 9 | urls = { Homepage = "https://github.com/tsutsu3/linkify-it-py" } |
| 10 | readme = "README.md" |
| 11 | requires-python = ">=3.10" |
| 12 | keywords = ["linkify", "linkifier", "autolink", "autolinker"] |
| 13 | dependencies = ["uc-micro-py"] |
| 14 | license = { text = "MIT" } |
| 15 | classifiers = [ |
| 16 | "Development Status :: 5 - Production/Stable", |
| 17 | "Programming Language :: Python :: 3", |
| 18 | "Programming Language :: Python :: 3.10", |
| 19 | "Programming Language :: Python :: 3.11", |
| 20 | "Programming Language :: Python :: 3.12", |
| 21 | "Programming Language :: Python :: 3.13", |
| 22 | "Programming Language :: Python :: 3.14", |
| 23 | "License :: OSI Approved :: MIT License", |
| 24 | "Operating System :: OS Independent", |
| 25 | "Intended Audience :: Developers", |
| 26 | "Topic :: Software Development :: Libraries :: Python Modules", |
| 27 | ] |
| 28 | dynamic = ["version"] |
| 29 | |
| 30 | [project.optional-dependencies] |
| 31 | test = ["pytest", "coverage", "pytest-cov"] |
| 32 | dev = ["pre-commit", "isort", "flake8", "black", "pyproject-flake8"] |
| 33 | benchmark = ["pytest", "pytest-benchmark"] |
| 34 | doc = ["sphinx", "sphinx_book_theme", "myst-parser"] |
| 35 | |
| 36 | [tool.setuptools] |
| 37 | packages = ["linkify_it"] |
| 38 | |
| 39 | [tool.setuptools.dynamic] |
| 40 | version = { attr = "linkify_it.__version__" } |
| 41 | |
| 42 | [tool.isort] |
| 43 | multi_line_output = 3 |
| 44 | include_trailing_comma = true |
| 45 | force_grid_wrap = 0 |
| 46 | use_parentheses = true |
| 47 | ensure_newline_before_comments = true |
| 48 | line_length = 88 |
| 49 | |
| 50 | [tool.flake8] |
| 51 | max-line-length = 88 |
| 52 | extend-ignore = "E203, W503" |