-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
83 lines (67 loc) · 1.74 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
73
74
75
76
77
78
79
80
81
82
83
[tool.poetry]
name = "flask-mod-auth-gssapi"
version = "1.1.1"
description = "A Flask extention to make use of the authentication provided by the mod_auth_gssapi extention of Apache's HTTPd."
license = "MIT"
authors = [
"Fedora Infrastructure <[email protected]>"
]
readme = "README.md"
keywords = ["security", "web"]
repository = "https://github.com/fedora-infra/flask-mod-auth-gssapi"
homepage = "https://github.com/fedora-infra/flask-mod-auth-gssapi"
include = [
"tox.ini",
"config/*",
"docs/*/*",
"tests/*",
]
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
]
[tool.poetry.dependencies]
python = "^3.8.0"
flask = "^2.0.0 || ^3.0.0"
gssapi = "^1.6.2"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-mock = "*"
pytest-cov = "*"
black = "*"
coverage = {extras = ["toml"], version = "*"}
ruff = "*"
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "S", "B", "RUF"]
# ignore = ["RUF010", "UP038"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.coverage.run]
branch = true
source = ["flask_mod_auth_gssapi"]
[tool.coverage.paths]
source = ["flask_mod_auth_gssapi"]
[tool.coverage.report]
fail_under = 100
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]
omit = [
"flask_mod_auth_gssapi/__init__.py"
]
[build-system]
requires = ["poetry>=1.1.4"]
build-backend = "poetry.masonry.api"