-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.37 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (60 loc) · 1.37 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
[build-system]
requires = ["setuptools>=80.9.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ip-visualizer"
authors = [
{name = "Wayne Ye", email = "xiaotianpop@gmail.com"}
]
version = "0.1.0"
description = "Visualize given IP addresses on a global geographic heat map"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"numpy==2.2.6",
"pandas==2.2.3",
"folium==0.19.5",
"geoip2==5.1.0",
"typer>=0.9.0",
"rich>=13.7.0",
]
[project.scripts]
ip-visualizer = "ip_visualizer.cli:app"
[tool.uv]
package = true
[dependency-groups]
dev = [
"coverage>=7.8.2",
"pyright>=1.1.401",
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"ruff>=0.11.12",
]
[tool.setuptools]
package-dir = { "" = "." }
[tool.ruff]
line-length = 120
target-version = "py312"
lint.fixable = ["ALL"]
lint.unfixable = []
lint.ignore = []
lint.select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C", # flake8-comprehensions
"PL", # pylint
"RUF", # Ruff-specific
"UP", # pyupgrade
"N", # pep8-naming
"A", # flake8-builtins
"S", # flake8-bandit (security)
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "PLR0913", "PLR2004", "PLR1714"]
[tool.ruff.format]
quote-style = "double"
line-ending = "auto"
indent-style = "space"
docstring-code-format = true