-
Notifications
You must be signed in to change notification settings - Fork 57
/
pyproject.toml
91 lines (76 loc) · 2.3 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 = "gokart"
version = "0.0.0" # using poetry-dynamic-versioning
description="Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline. [Documentation](https://gokart.readthedocs.io/en/latest/)"
authors = ["M3, inc."]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/m3dev/gokart"
repository = "https://github.com/m3dev/gokart"
documentation = "https://gokart.readthedocs.io/en/latest/"
[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)"
[tool.poetry.dependencies]
python = ">=3.9,<4"
luigi = "*"
boto3 = "*"
slack-sdk = "^3"
pandas = "*"
numpy = "*"
google-auth = "*"
pyarrow = "*"
uritemplate = "*"
google-api-python-client = "*"
APScheduler = "*"
redis = "*"
dill = "*"
backoff = "^2.2.1"
[tool.poetry.group.dev.dependencies]
ruff = "*"
tox = "*"
moto = "*"
testfixtures = "*"
coverage = "*"
toml = "*"
lupa = "*"
fakeredis = "*"
mypy = "*"
types-redis = "*"
matplotlib = "*"
typing-extensions = "^4.11.0"
pytest = "*"
pytest-cov = "*"
[tool.ruff]
line-length = 160
exclude = ["venv/*", "tox/*"]
[tool.ruff.lint]
# All the rules are listed on https://docs.astral.sh/ruff/rules/
extend-select = [
"B", # bugbear
"I" # isort
]
# B006: Do not use mutable data structures for argument defaults. They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
# B008 Do not perform function calls in argument defaults. The call is performed only once at function definition time. All calls to your function will reuse the result of that definition-time function call. If this is intended, assign the function call to a module-level variable and use that variable as a default value.
ignore = ["B006", "B008"]
[tool.ruff.format]
quote-style = "single"
[tool.mypy]
ignore_missing_imports = true
plugins = ["gokart.mypy:plugin"]
check_untyped_defs = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["test"]
addopts = "-s -v --durations=0"
[tool.coverage.run]
branch = true
source = ["gokart"]
command_line = "-m pytest"
[tool.coverage.report]
show_missing = true
[tool.coverage.xml]
output = "coverage.xml"