-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 2.58 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (77 loc) · 2.58 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "foliplus"
dynamic = ["version"]
description = "foliplus is a pragmatic Folium toolkit built to streamline spatial data visualization workflows, allowing you to focus entirely on the data itself."
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "40% <@Zeroto521>", email = "Zeroto521@gmail.com" }]
license = { text = "MIT" }
keywords = ["folium", "leaflet", "gis", "map", "visualization"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Visualization",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
]
dependencies = ["folium>=0.14.0"]
[project.urls]
Documentation = "https://foliplus.readthedocs.io"
Source = "https://github.com/Zeroto521/foliplus"
Issues = "https://github.com/Zeroto521/foliplus/issues"
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "pytest-xdist", "build", "twine"]
[tool.setuptools_scm]
write_to = "foliplus/_version.py"
[tool.setuptools.packages.find]
include = ["foliplus*"]
[tool.setuptools.package-data]
foliplus = ["js/*.js", "css/*.css", "locale/*.json"]
[tool.pytest.ini_options]
testpaths = ["test"]
python_files = ["test_*.py"]
addopts = "-v --tb=short --cov=foliplus --cov-report=term-missing"
markers = [
"browser: marks tests that require a Playwright browser (e.g., Browser test classes)",
]
[tool.ruff]
line-length = 88
fix = true
[tool.ruff.lint]
select = ["I", "UP"]
[tool.ruff.lint.isort]
known-first-party = ["foliplus"]
[tool.coverage.run]
source = ["foliplus"]
branch = true
[tool.coverage.report]
ignore_errors = false
show_missing = true
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain about missing debug-only code
"def __repr__",
"if self.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
"AbstractMethodError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
omit = ["*/test/*", "*/site-packages/*"]