-
Notifications
You must be signed in to change notification settings - Fork 43
/
pyproject.toml
72 lines (64 loc) · 2.09 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[tool.poetry]
name = "flask_simplelogin"
version = "0.2.0"
description = "Flask Simple Login - Login Extension for Flask"
authors = ["Bruno Rocha <[email protected]>"]
maintainers = ["Eduardo Cuducos <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/flask-extensions/Flask-SimpleLogin"
classifiers = [
"Programming Language :: Python",
"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",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Framework :: Flask",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = ">=3.8,<4"
click = "^8.0.1"
Flask = ">=0.12"
Flask-WTF = ">1.1"
WTForms = ">=2.1"
recommonmark = { version = "^0.7.1", optional = true }
Sphinx = { version = ">=7,<9", optional = true }
sphinx-markdown-tables = { version = "^0.0.17", optional = true }
sphinx-rtd-theme = { version = "^3.0.1", optional = true }
markdown = { version = "<3.7", optional = true }
[tool.poetry.group.dev.dependencies]
ipdb = "^0.13.13"
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-flask = "^1.3.0"
pytest-mock = "^3.14.0"
pytest-ruff = "^0.4.1"
tox = "^4.21.2"
[tool.poetry.extras]
docs = ["markdown", "pip", "recommonmark", "Sphinx", "sphinx-markdown-tables", "sphinx-rtd-theme"]
[tool.pytest.ini_options]
addopts = "--ruff --ruff-format --cov flask_simplelogin --cov-report term --cov-fail-under=70"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
requires = poetry
envlist = py312, py311, py310, py39, py38
[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest
"""
# needed for docutils (dependency of a dependency)
[[tool.poetry.source]]
name = "pypi-public"
url = "https://pypi.org/simple/"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"