-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathpyproject.toml
57 lines (48 loc) · 1.56 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pymap3d"
description = "pure Python (no prereqs) coordinate conversions, following convention of several popular Matlab routines."
keywords = ["coordinate-conversion", "geodesy"]
classifiers = ["Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS"
]
requires-python = ">=3.8"
dynamic = ["version", "readme"]
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
version = {attr = "pymap3d.__version__"}
[project.optional-dependencies]
tests = ["pytest", "pytest-timeout"]
lint = ["flake8", "flake8-bugbear", "flake8-builtins", "flake8-blind-except", "mypy",
"types-python-dateutil", "types-requests"]
coverage = ["pytest-cov"]
format = ["black[jupyter]", "isort"]
core = ["python-dateutil", "numpy >= 1.10.0"]
full = ["astropy", "xarray"]
proj = ["pyproj"]
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
known_third_party = ["pymap3d"]
[tool.mypy]
files = ["src", "Examples", "scripts"]
ignore_missing_imports = true
[tool.coverage.run]
branch = true
source = ["src/"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain about function overloading
"@overload",
]