-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
54 lines (44 loc) · 1.6 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
[tool.poetry]
name = "thunderbolt"
version = "0.0.0" # using poetry-dynamic-versioning
description="gokart file downloader"
authors = ["vaaaaanquish <6syun9@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/m3dev/thunderbolt"
repository = "https://github.com/m3dev/thunderbolt"
[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
gokart = "*"
boto3 = "*"
tqdm = "*"
[tool.poetry.group.dev.dependencies]
ruff = "*"
tox = "*"
coverage = "*"
mock = "*"
[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"]
# Avoid automatically removing unused imports in __init__.py files.
ignore-init-module-imports = true
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.format]
quote-style = "single"
[build-system]
requires = ["poetry"]
build-backend = "poetry.masonry.api"