-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
104 lines (93 loc) · 1.97 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
92
93
94
95
96
97
98
99
100
101
102
103
104
[tool.poetry]
name = "detection_datasets"
version = "0.3.8"
description = "Easily load and transform datasets for object detection"
authors = ["Jerome Blin <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/blinjrm/detection-dataset"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{ include = "detection_datasets", from = "src" }]
[tool.poetry.dependencies]
python = "^3.8.1"
pandas = "^1.3.0"
datasets = { extras = ["vision"], version = "^2.4.0" }
[tool.poetry.group.jupyter]
optional = true
[tool.poetry.group.jupyter.dependencies]
jupyterlab = "^3.4.7"
ipywidgets = "^8.0.2"
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.lint.dependencies]
pre-commit = "^2.20.0"
mypy = "^0.971"
pytest-cov = "^3.0.0"
ruff = "^0.0.292"
black = "^23.9.1"
pyupgrade = "^3.15.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^8.5.3"
mkdocstrings = { extras = ["python"], version = "^0.19.0" }
mkdocs-section-index = "^0.3.4"
mkdocs-jupyter = "^0.21.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line_length = 120
target-version = ['py38']
[tool.ruff]
line-length = 120
src = ['src']
target-version = "py38"
select = [
'A', # flake8-builtins
# "ANN", # flake8-annotations
'B', # flake8-bugbear
'C', # flake8-comprehensions
'D', # pydocstyle
"E", # pycodestyle errors
"F", # pyflakes
'I', # isort
'M',
'N', # pep8-naming
'Q', # flake8-quotes
'S', # flake8-bandit
'T', # flake8-print
'U', # pyupgrade
"W", # pycodestyle warnings
]
extend-ignore = [
'A003',
'ANN101',
'B023',
'D100',
'D101',
'D102',
'D104',
'D105',
'D107',
'D202',
"D203",
"D204",
"D213",
"D215",
"D400",
'D401',
"D404",
"D406",
"D407",
"D408",
"D409",
"D413",
'F401',
'S101',
'T201',
]