-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (90 loc) · 4.22 KB
/
pyproject.toml
File metadata and controls
105 lines (90 loc) · 4.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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cpg-flow"
description = "CPG Flow API for Hail Batch"
requires-python = ">=3.10,<3.12"
readme = "README.md"
license-files = ["LICENSE"]
version = "1.3.1"
dependencies = [
"cpg-utils>=5.4.2",
# Loose pin Hail at CPG"s installed version or higher
"hail~=0.2.137",
"grpcio>=1.53.0",
# Avoid dependency resolution backtracking, Python 3.10 compatibility
"grpcio-status>=1.48,<1.79",
"loguru>0.7.0",
"metamist>=7.13.0",
"networkx>=3.4.2",
"pyyaml>=6.0.2",
"plotly>=5.24.1",
"ipywidgets>=8.1.5",
# Security adjustments
"tornado>=6.5",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: Unix",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
keywords = ["hail", "flow", "api", "bioinformatics", "genomics"]
[dependency-groups]
dev = [
"black>=24.10.0",
"build>=1.2.2.post1",
"coverage>=7.6.4",
"pip-audit>=2.7.3",
"pre-commit>=4.0.1",
"pylint>=3.3.1",
"pytest-mock>=3.14.0",
"pytest>=8.3.3",
"pyyaml>=6.0.2",
"ruff>=0.5.2",
"toml>=0.10.2",
"twine>=5.1.1",
"mkdocs-material>=9.5.50",
"mkdocstrings[python]>=0.27.0",
"griffe-typingdoc>=0.2.7",
"mike>=2.1.3",
"pyright>=1.1.400",
]
[project.urls]
Repository = "https://github.com/populationgenomics/cpg-flow"
[tool.ruff]
line-length = 120
extend-exclude = ["venv", ".mypy_cache", ".tox", ".venv", "build", "dist"]
[tool.ruff.lint]
select = ["A", "B", "C", "E", "F", "G", "I", "N", "Q", "S", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "ERA", "EXE", "ICN", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TID", "UP", "YTT"]
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "ERA", "EXE", "FBT", "ICN", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TID", "UP", "YTT"]
ignore = ["A001", "A002", "ANN001", "ANN002", "ANN003", "ANN201", "ANN202", "ANN204", "ANN205", "ANN401", "ARG001", "ARG002", "ARG005", "B006", "B007", "B008", "B023", "B904", "BLE001", "C400", "C401", "C403", "C405", "C408", "C416", "C417", "C419", "C901", "COM812", "COM819", "DTZ002", "DTZ005", "DTZ011", "E401", "E402", "E501", "E712", "E713", "E731", "E741", "ERA001", "EXE001", "F401", "F403", "F821", "F841", "G001", "G002", "G003", "G004", "ISC001", "ISC002", "ISC003", "N802", "N803", "N805", "N806", "N818", "N999", "PD003", "PD010", "PD011", "PD901", "PGH003", "PIE790", "PIE804", "PIE808", "PIE810", "PLR0402", "PLR0911", "PLR0912", "PLR0913", "PLR0915", "PLR1711", "PLR1714", "PLR2004", "PLR5501", "PLW0603", "PLW1510", "PLW2901", "Q000", "Q001", "Q002", "Q003", "RET501", "RET503", "RET504", "RET505", "RET506", "RET507", "RUF002", "RUF005", "RUF010", "RUF012", "RUF013", "RUF015", "RUF100", "S101", "S105", "S108", "S113", "S301", "S310", "S311", "S324", "S506", "S602", "S603", "S605", "S607", "S608", "SIM102", "SIM105", "SIM108", "SIM115", "SIM117", "SIM118", "SIM201", "SIM212", "SIM300", "SLF001", "TID252", "UP007", "UP015", "UP020", "UP026", "UP030", "UP031", "UP032", "W291", "W292", "W605"]
[tool.ruff.lint.isort]
section-order = ["future", "standard-library", "third-party", "hail", "cpg", "first-party", "local-folder"]
[tool.ruff.lint.isort.sections]
hail = ["hail", "hailtop"]
cpg = ["analysis_runner", "cpg_infra", "cpg_utils", "cpg_flow", "gnomad", "hail_scripts", "metamist"]
[tool.ruff.format]
quote-style = "single"
[tool.coverage.run]
omit = ["test/*", "setup.py"]
[tool.pyright]
venvPath = "."
venv = ".venv"
typeCheckingMode = "basic"
[tool.setuptools.package-data]
cpg_flow = ["defaults.toml"]
[tool.setuptools.packages.find]
where = ["src"]