-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
70 lines (62 loc) · 1.62 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
[project]
name = "micropip"
authors = [
{ name="Pyodide developers"},
]
description = "A lightweight Python package installer for the web"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
]
dynamic = ["version"]
dependencies = ["packaging>=23.0"]
[project.optional-dependencies]
test = [
"pytest-httpserver",
"pytest-pyodide",
"pytest-cov",
"pytest<8.0.0",
"build==0.7.0",
"pyodide-lock==v0.1.0a8",
]
[project.urls]
"Homepage" = "https://github.com/pyodide/micropip"
"Bug Tracker" = "https://github.com/pyodide/micropip/issues"
[build-system]
requires = ["setuptools>=42", "setuptools_scm[toml]>=6.2", "wheel"]
build-backend = "setuptools.build_meta"
# Evable versioning via setuptools_scm
[tool.setuptools_scm]
write_to = "micropip/_version.py"
[tool.ruff]
exclude = ["micropip/externals"]
line-length = 120
lint.select = [
"B", # bugbear
"C4", # flake8-comprehensions
"C90", # mccabe code complexity
"E", # pycodestyle errors
"F", # pyflakes
"G", # flake8-logging-format
"I", # isort
"PERF", # perflint
"PGH", # pygrep-hooks
"UP", # pyupgrade
"W", # pycodestyle whitespace
]
lint.flake8-comprehensions.allow-dict-calls-with-keyword-arguments = true
lint.mccabe.max-complexity = 13
target-version = "py312"
[tool.ruff.lint.isort]
known-first-party = [
"micropip"
]
[tool.mypy]
python_version = "3.12"
show_error_codes = true
warn_unreachable = true
ignore_missing_imports = true