-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
71 lines (64 loc) · 1.41 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
[tool.poetry]
name = "plateau2minecraft"
version = "0.0.1"
description = ""
authors = ["MIERUNE Inc. <[email protected]>"]
readme = "README.md"
packages = [{include = "plateau2minecraft", from = "src"}]
[tool.poetry.dependencies]
python = "~3.10"
numpy = "^1.25.0"
trimesh = "^3.22.1"
open3d = "0.16.0"
lxml = "^4.9.2"
geopandas = "^0.13.2"
scipy = "^1.10.1"
nbt = "^1.5.1"
frozendict = "^2.3.8"
networkx = "^3.1"
pyglet = "1.5.27"
[tool.poetry.group.dev.dependencies]
black = "^23.3"
ruff = "^0.0.269"
pytest = "^7.3"
pytest-cov = "^4.0"
pyright = "^1.1.309"
[tool.black]
line-length = 119
[tool.ruff]
line-length = 119
select = [
"E", # pycodestyle errors (default)
"W", # pycodestyle warnings
"F", # pyflakes (default)
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"PIE", # flake8-pie
"Q", # flake8-quotes
"PT", # flake8-pytest-style
"SIM", # flake8-simplify
"N", # pep8-naming
"UP", # pyupgrade
"C90", # mccabe
"PD", # pandas-vet
"RUF", # Ruff-specific rules
"I", # isort
]
ignore = ["E501"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.pytest]
addopts = ["--import-mode=importlib"]
[tool.pyright]
typeCheckingMode = "basic"
venvPath = "."
venv = ".venv"
executionEnvironments = [
{ root = "src" },
{ root = "test", extraPaths = [
"src",
".",
] },
]
exclude = ["**/__pycache__", ".venv/**"]