-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 2.02 KB
/
pyproject.toml
File metadata and controls
75 lines (65 loc) · 2.02 KB
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=61" ]
[project]
name = "sandbox-template"
description = "Roboflow Python Sandbox Template"
readme = "README.md"
license = "MIT"
authors = [
{ name = "Roboflow", email = "develop@roboflow.com" },
]
requires-python = ">=3.9"
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [ ]
urls."Homepage" = "https://roboflow.com"
[dependency-groups]
dev = [
"pre-commit",
"pytest",
"twine",
"wheel",
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.dynamic]
version = { attr = "sandbox.__version__" }
[tool.setuptools.packages.find]
where = [ "src" ]
[tool.ruff]
target-version = "py39"
line-length = 120
format.indent-style = "space"
format.quote-style = "double"
lint.select = [
"B", # flake8-bugbear - https://docs.astral.sh/ruff/rules/#flake8-bugbear-b
"D", # pydocstyle - https://docs.astral.sh/ruff/rules/#pydocstyle-d
"E", # pycodestyle errors - https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
"F", # pyflakes - https://docs.astral.sh/ruff/rules/#pyflakes-f
"I", # isort - https://docs.astral.sh/ruff/rules/#isort-i
"N", # pep8-naming - https://docs.astral.sh/ruff/rules/#pep8-naming-n
"SIM", # flake8-simplify - https://docs.astral.sh/ruff/rules/#flake8-simplify-sim
"UP", # pyupgrade - https://docs.astral.sh/ruff/rules/#pyupgrade-up
"W", # pycodestyle warnings - https://docs.astral.sh/ruff/rules/#pycodestyle-e-w
]
lint.isort.known-first-party = [ "sandbox" ]
[tool.pytest.ini_options]
addopts = [
"--color=yes",
"--doctest-modules",
]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true