-
Notifications
You must be signed in to change notification settings - Fork 130
/
pyproject.toml
74 lines (67 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
72
73
74
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "oldnyc"
version = "1.0.0"
description = "Mapping historic photos of New York City"
license = "Apache-2.0"
readme = "README.md"
authors = [ "Dan Vanderkam <[email protected]>" ]
homepage = "https://oldnyc.org"
repository = "https://github.com/danvk/oldnyc"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
ruff = "^0.6.5"
requests = "^2.32.3"
pillow = "^10.4.0"
chardet = "^5.2.0"
editdistance = "^0.8.1"
python-dateutil = "^2.9.0.post0"
datefinder = "^0.7.3"
python-dotenv = "^1.0.1"
haversine = "^2.8.1"
tqdm = "^4.66.5"
pytest = "^8.3.3"
numpy = "^2.1.2"
levenshtein = "^0.26.0"
jupyter = "^1.1.1"
opencv-python = "^4.10.0.84"
scipy = "^1.14.1"
vulture = "^2.13"
pyright = "^1.1.385"
imagehash = "^4.3.1"
pygeojson = "^0.2.0"
natsort = "^8.4.0"
word2number = "^1.1"
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py312"
lint.select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I"
]
lint.extend-ignore = [
"E501" # long line
]
[tool.ruff.format]
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
# Set the line length limit used when formatting code snippets in
# docstrings.
#
# This only has an effect when the `docstring-code-format` setting is
# enabled.
docstring-code-line-length = "dynamic"
[tool.pyright]
typeCheckingMode = "standard"
# This would be the next step:
# reportUnknownParameterType = "warning"