forked from childmindresearch/slurm_testing
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
91 lines (79 loc) · 2.39 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
84
85
86
87
88
89
90
91
[tool.poetry]
name = "cpac_slurm_testing"
version = "0.1.0.dev1"
description = "Run C-PAC regression tests via Slurm."
authors = ["Amy Gutierrez <[email protected]>", "Jon Clucas <jon.clucas@@childmind.org>"]
license = "LGPL-2.1"
readme = "README.md"
packages = [{include = "cpac_slurm_testing", from = "src"}]
repository = "https://github.com/childmindresearch/slurm_testing"
[tool.poetry.build]
generate-setup-file = false
script = "./src/cpac_slurm_testing/__init__.py"
[tool.poetry.dependencies]
cpac_regression_dashboard = {git = "https://github.com/shnizzedy/dashboard.git", branch = "correlate_D3"}
gitpython = ">=3.1.40"
pygithub = ">=2.4.0"
python = ">=3.10"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.0"
[tool.poetry.scripts]
"cpac-slurm-status" = "cpac_slurm_testing.status.cli:main"
cpac_slurm_status = "cpac_slurm_testing.status.cli:main"
"cpac-slurm-push-branch" = "cpac_slurm_testing.correlation.push_branch:main"
cpac_slurm_push_branch = "cpac_slurm_testing.correlation.push_branch:main"
[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR/src/cpac_slurm_testing"
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv"
]
line-length = 88
indent-width = 4
src = ["."]
target-version = "py310"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
extend-select = ["A", "C4", "D", "EM", "F541", "G", "I", "ICN", "NPY", "PL", "RET", "RSE", "RUF", "Q", "T20", "UP032", "W"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.isort]
combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["cpac_slurm_testing"]
no-lines-before = ["collab", "other-first-party", "local-folder"]
order-by-type = false
section-order = ["future", "standard-library", "third-party", "collab", "other-first-party", "first-party", "local-folder"]
[tool.ruff.lint.isort.sections]
"collab" = []
"other-first-party" = ["cpac_correlations", "cpac_regression_dashboard"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"