-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (63 loc) · 1.85 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
72
73
[tool.poetry]
name = "palkia"
version = "0.2.4"
description = "indoor positioning library"
authors = ["happy663 <[email protected]>"]
readme = "README.md"
packages = [{ include = "palkia", from = "src" }]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.10"
scipy = "^1.14.0"
matplotlib = "^3.9.2"
pandas = "^2.2.3"
numpy = "^2.1.2"
scikit-learn = "^1.5.2"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.9"
pytest = "^8.3.3"
pyright = "^1.1.384"
ahrs = "^0.3.1"
ipykernel = "^6.29.5"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-include = ["*.ipynb"]
[tool.ruff.lint]
ignore = [
"E501", # line too long, handled by black
"PLR0913", # too many arguments
"D100", # undocumented-public-module
"D101", # undocumented-public-class
"D102", # undocumented-public-method
"D103", # undocumented-public-function
"D104", # undocumented-public-module
"D107", # missing-docstring
"ANN101", # missing type annotation for self in method
"D203", # one-blank-line-before-class (linter rule 競合解決のため)
"D213", # multi-line-summary-second-line (linter rule 競合解決のため)
# formatとの競合を解消するため、以下のルールを無効化
"COM812", # Missing trailing comma in Python 3.6+
"ISC001", # Single line implicit string concatenation
# testでassert文を使うため、以下のルールを無効化(testでのみにしたいが全て無効の状態よくない)
"S101", # Use of assert detected
"TD003",
"FIX002",
"TD002",
"ERA001",
"PLR2004",
"PGH003",
]
select = ["ALL"]
unfixable = ["F401"]
[tool.pyright]
include = ["src"]
typeCheckingMode = "standard"
# basePath
venvPath = "."
# basePathから指定する
venv = ".venv"
[tool.pytest.ini_options]
pythonpath = "./src/common"
# testpaths = "./src/common/map_matching"