-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (68 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
81 lines (68 loc) · 1.66 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
76
77
78
79
80
81
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bmap"
version = "0.0.1"
requires-python = ">=3.10"
authors = [{ name = "Charles Marks", email = "charlesmarksco@gmail.com" }]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = ["License :: OSI Approved :: MIT License"]
dependencies = [
"anytree>=2.12.0",
"ipykernel>=7.1.0",
"numpy>=1.26.0",
"sympy>=1.12.0",
]
[project.optional-dependencies]
viz = [
"networkx>=3.2.0",
"pydot>=2.0.0",
"pyvis>=0.3.2",
]
all = [
"numba>=0.59.0",
"viz",
]
[tool.hatch.build.targets.wheel]
packages = ["bmap"]
[tool.hatch.build.targets.wheel.force-include]
"typings/bmap" = "bmap"
[tool.coverage.run]
branch = true
core = "ctrace"
[tool.coverage.report]
exclude_also = [
"if __debug__",
'if self\.debug',
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
'@(abc\.)?abstractmethod',
]
ignore_errors = true
[tool.coverage.html]
directory = "tests/report/coverage"
show_contexts = true
[tool.pytest.ini_options]
markers = ["regression: Tests that failed in old versions."]
xfail_strict = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["I", "E4", "E5", "E7", "E9", "F", "B", "Q", "FA"]
ignore = ["E701", "Q000", "Q001"]
[tool.ruff.lint.isort]
force-single-line = false
combine-as-imports = true
required-imports = ["from __future__ import annotations"]
# float-to-top = true
[tool.ruff.analyze]
detect-string-imports = true
# conda env seems broken for pyrefly rn
# python-interpreter-path = "your/path"
# conda-environment = "your_conda_env"
[tool.pyrefly.errors]
untyped-import = false