about summary refs log tree commit diff
path: root/pyproject.toml
blob: f5f624d32337e1292f5ba8467060b3afff7582f7 (plain)
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "gn-auth"
# version = "1.0.1"
dynamic = ["version"] # Read from git, or elsewhere
description = "Authentication/Authorisation server for GeneNetwork Services."
requires-python = ">= 3.10"
authors = [
{name = "Frederick M. Muriithi", email = "fredmanglis@gmail.com"},
]
dependencies = [
"argon2-cffi>= 20.1.0",
"click",
"Flask>= 1.1.2",
"mypy>= 0.790",
"mypy-extensions>= 0.4.3",
"mysqlclient>= 2.0.1",
"pylint>= 2.5.3",
"pymonad",
"redis>= 3.5.3",
"requests>= 2.25.1",
"flask-cors", # with the `>= 3.0.9` specification, it breaks the build
"gn-libs @ git+https://git.genenetwork.org/gn-libs"
]
maintainers = [
{name = "Frederick M. Muriithi", email = "fredmanglis@gmail.com"},
]
license = "AGPL-3.0"
readme = {file = "README.md", content-type = "text/markdown"}

[project.urls]
Homepage = "https://git.genenetwork.org/gn-auth/"
Repository = "https://git.genenetwork.org/gn-auth/"

[dependency-groups]# PEP 735
tests = ["pytest"]
checks = [{include-group = "tests"}, "mypy", "pylint", "vulture"]

[tool.pylint.main]
ignore = ["tests", "venv"]
ignore-paths = ["^gn_auth/migrations/auth/.*"]
ignore-imports = true
disable = ["fixme", "duplicate-code", "no-else-return"]
load-plugins = ["pylint.extensions.no_self_use"]

[tool.vulture]
ignore_decorators = [
"@admin.before_request",
"@admin.route",
"@app.cli.command",
"@auth.route",
"@collections.route",
"@data.route",
"@genobp.route",
"@groups.route",
"@masq.route",
"@misc.route",
"@phenobp.route",
"@phenosbp.route",
"@popbp.route",
"@privileges.route",
"@resources.route",
"@roles.route",
"@system.route",
"@users.route"
]
exclude = ["*/tests/unit/*", "*/gn_auth/settings.py", "*/gn_auth/migrations/*"]
min_confidence = 60