-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
62 lines (52 loc) · 1.4 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
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "algorithms"
version = "1.0.1"
description = "Pythonic Data Structures and Algorithms"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Algorithms Team & Contributors", email = "kwk236@gmail.com" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Education",
]
[project.urls]
Homepage = "https://github.com/keon/algorithms"
Repository = "https://github.com/keon/algorithms"
[project.optional-dependencies]
dev = [
"pytest",
"ruff",
"mypy",
"black",
]
[tool.setuptools.packages.find]
exclude = ["tests", "tests.*", "tools", "tools.*", "docs", "docs.*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-v", "--tb=short"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "N", "UP", "B", "SIM"]
[tool.ruff.lint.isort]
known-first-party = ["algorithms"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
check_untyped_defs = true
disallow_untyped_defs = false
[tool.black]
line-length = 88
target-version = ["py310"]