forked from GatorEducator/cellveyor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
86 lines (77 loc) · 2.94 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
[tool.poetry]
name = "cellveyor"
version = "0.1.0"
description = ""
authors = ["Gregory M. Kapfhammer <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
rich = "^13.4.2"
typer = {extras = ["all"], version = "^0.9.0"}
pandas = "^2.1.1"
openpyxl = "^3.1.2"
requests = "^2.31.0"
pygithub = "^2.1.1"
pyyaml = "^6.0.1"
[tool.poetry.scripts]
cellveyor = "cellveyor.main:cli"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
black = "^23.3.0"
ruff = "^0.0.277"
taskipy = "^1.11.0"
mypy = "^1.4.1"
isort = "^5.12.0"
hypothesis = {extras = ["cli"], version = "^6.81.1"}
pytest-clarity = "^1.0.1"
pytest-randomly = "^3.13.0"
pytest-pretty = "^1.2.0"
pytest-xdist = "^3.3.1"
types-pyyaml = "^6.0.12.12"
pandas-stubs = "^2.1.1.230928"
[tool.pytest.ini_options]
filterwarnings = [
"error",
]
[tool.ruff]
line-length = 79
ignore = [
"E501", # do not check line length
]
select = [
"E", # pycodestyle errors
"I", # isort
"F", # Pyflakes
"PL", # pylint
"Q", # flake8-quotes
"RUF", # ruff-specific
"W", # pycodestyle warnings
"T201" # flake8-print
]
[tool.isort]
include_trailing_comma = true
force_single_line = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.taskipy.variables]
developer-test-command = "pytest -x -s"
developer-test-silent-command = "pytest -x --show-capture=no"
[tool.taskipy.tasks]
all = "task black && task mypy && task ruff && task test"
lint = "task black && task mypy && task ruff"
black = { cmd = "black cellveyor tests --check", help = "Run the black checks for source code format" }
fiximports = { cmd = "isort cellveyor tests", help = "Run isort to fix source code imports" }
fixformat = { cmd = "black cellveyor tests", help = "Run the black checks for source code format" }
mypy = { cmd = "poetry run mypy cellveyor", help = "Run the mypy type checker for potential type errors" }
ruff = { cmd = "poetry run ruff check cellveyor tests", help = "Run the ruff checks using configuration in pyproject.toml" }
test = { cmd = "pytest -x -s -vv -n auto", help = "Run the pytest test suite using order randomization and test distribution" }
test-not-randomly = { cmd = "pytest -x -s -vv -p no:randomly", help = "Run the pytest test suite without order randomization" }
test-not-xdist = { cmd = "pytest -x -s -vv -p no:xdist", help = "Run the pytest test suite without order randomization" }
test-silent = { cmd = "pytest -x --show-capture=no -n auto", help = "Run the pytest test suite without showing output" }
test-silent-not-randomly = { cmd = "pytest -x --show-capture=no -p no:randomly", help = "Run the pytest test suite without showing output and order randomization" }
test-silent-not-xdist = { cmd = "pytest -x --show-capture=no -p no:xdist", help = "Run the pytest test suite without showing output and test distribution" }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"