Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (99 loc) · 1.84 KB
/
Copy pathpyproject.toml
File metadata and controls
105 lines (99 loc) · 1.84 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
[project]
name = "mci_knowledge_pilot"
version = "0.1.0"
authors = [
{name = "Matthew Cannon"},
{name = "Anastasia Bratulin"},
{name = "Kori Kuzma"},
{name = "Daniel Puthawala"},
{name = "Alex Wagner"},
]
readme = "README.md"
requires-python = ">=3.13,<3.14"
description = "Transform semi-structured somatic cancer variant classification knowledge into computable clinical assertions using GA4GH GKS"
license = "MIT"
license-files = ["LICENSE"]
dependencies = [
"ipykernel"
]
[project.optional-dependencies]
dev = [
"prek>=0.2.23",
"ruff==0.14.10",
]
[tool.ruff]
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
# unused
"AIR",
"ERA",
"YTT",
"BLE",
"FBT",
"CPY",
"DJ",
"EXE",
"FIX",
"FA",
"PYI",
"TD",
"C90",
"NPY",
"PD",
# ignore for compatibility with formatter
"D206",
"D300",
"W191",
"E111",
"E114",
"E117",
"E501",
"W191",
"S321",
"COM812",
"COM819",
"Q000",
"Q001",
"Q002",
"Q003",
# don't require types on *args, **kwargs
"ANN002",
"ANN003",
# subjective pylint thresholds
"PLR0904",
"PLR091",
"PLR1702",
"PLC0206",
# misc unnecessary stuff
"S321",
"D203",
"D205",
"D213",
"D400",
"D415",
]
[tool.ruff.lint.per-file-ignores]
# ANN001 - missing-type-function-argument
# ANN2 - missing-return-type
# D100 - undocumented-public-module
# D102 - undocumented-public-class
# D103 - undocumented-public-function
# S101 - assert
# B011 - assert-false
# INP001 - implicit-namespace-package
# PLR2004 - magic-value-comparison
"tests/*" = [
"ANN001",
"ANN2",
"D",
"S101",
"B011",
"INP001",
"PLR2004",
]
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
[tool.ruff.format]
docstring-code-format = true