-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (104 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
115 lines (104 loc) · 2.22 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "cg"
version = "86.4.0"
description = "Clinical Genomics command center"
readme = {file = "README.md", content-type = "text/markdown"}
homepage = "https://github.com/Clinical-Genomics/cg"
repository = "https://github.com/Clinical-Genomics/cg"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
include = [
"README.md",
"cg/**/*",
"tests/**/*"
]
requires-python = ">=3.11,<3.13"
dependencies = [
"alembic",
"SQLAlchemy",
"PyMySQL",
"click",
"blinker",
"CacheControl",
"Flask-Admin",
"Flask-CORS",
"Flask-Dance",
"Flask",
"Flask-WTF",
"WTForms == 3.0.0",
"google-auth",
"gunicorn",
"requests",
"werkzeug",
"cachetools",
"cryptography",
"coloredlogs",
"Jinja2",
"lxml",
"marshmallow",
"MarkupSafe",
"openpyxl",
"packaging",
"pandas",
"paramiko",
"petname",
"psutil",
"pydantic == 2.7.4",
"python-dateutil",
"PyYAML",
"tabulate",
"typing_extensions",
"urllib3",
"genologics",
"housekeeper == 4.13.15",
"pydantic-settings>=2.3.3",
"email-validator>=2.2.0",
"rich-click>=1.8.4",
"nats-py (>=2.14.0,<3.0.0)",
]
[project.optional-dependencies]
coveralls = ["coveralls"]
mock = ["mock"]
pre-commit = ["pre-commit"]
pytest-cov = ["pytest-cov"]
pytest-mock = ["pytest-mock"]
pytest-freezegun = ["pytest-freezegun"]
pytest = ["pytest"]
ruff = ["ruff"]
pytest-xdist = ["pytest-xdist"]
pytest-httpserver = ["pytest-httpserver"]
[tool.pytest.ini_options]
markers = [
"integration: Integration tests"
]
addopts = [
"-m", "not integration",
]
[project.scripts]
cg = "cg.cli.base:base"
# Configurations
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
include_trailing_comma = "true"
line_length=100
multi_line_output=3
ensure_newline_before_comments = "true"
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = ["alembic"]
ignore = ["E501"]
[tool.vulture]
paths = ["cg","vulture_whitelist.txt"]
sort_by_size = true
min_confidence = 60
ignore_decorators = ["@click.*","*route*","@field_validator*","@model_validator*","@app.*","@validator*","@action*","@field_serializer"]
ignore_names= ["on_model_change","*View(BaseView)"]