-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
71 lines (63 loc) · 1.5 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 = "bacs"
version = "0.1.11"
description = "Bundle Adjustment For Camera Systems"
authors = ["Zauberzeug GmbH <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/zauberzeug/bacs"
keywords = ["bundle", "adjustment", "cameras", "points", "infinity"]
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
numpy = "^1.21.2"
scipy = [
{ version = ">=1.10.0,<1.11.0", python = "3.8" },
{ version = ">=1.11.0", python = ">=3.9" }
]
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = "3.8"
install_types = true
[[tool.mypy.overrides]]
module = [
"scipy.*",
]
ignore_missing_imports = true
[tool.pylint]
disable = [
"C0103", # invalid variable name
"C0301", # line too long
"C0114", # missing module docstring
"R0912", # too many branches
"R0913", # too many arguments
"R0914", # too many local variables
"R0915", # too many statements
]
[tool.ruff]
indent-width = 4
line-length = 120
[tool.ruff.lint]
select = [
"I", # isort
"E", # pycodestyle
"W", # pycodestyle
"B", # bugbear
"F", # pyflakes
"UP", # pyupgrade
"RUF", # ruff
"PL", # pylint
]
fixable = [
"I", # isort
]
ignore = [
"E741", # ambiguous variable name
"E501", # line too long
"PLR0912", # too many branches
"PLR0913", # too many arguments
"PLR0915", # too many statements
"PLR2004", # magic value comparison
]