-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (59 loc) · 1.64 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
[tool.poetry]
name = "splib07-loader"
version = "0.5.1"
description = "Tools for loading spectra from a local archive of the USGS Spectral Library Version 7"
license = "Apache-2.0"
authors = ["Brian Schubert <[email protected]>"]
readme = "README.md"
repository = "https://github.com/brianschubert/splib07-loader"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Typing :: Typed",
]
packages = [
{ from = "src", include = "splib07" }
]
[tool.poetry.dependencies]
python = "^3.9"
numpy = "^1.25.1"
typing-extensions = "^4.7.1"
nptyping = "^2.5.0"
spectral = "^0.23.1"
beautifulsoup4 = "^4.12.2"
[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
isort = "^5.12.0"
mypy = "^1.4.1"
pytest = "^7.4.0"
[tool.poetry.group.nb.dependencies]
jupyter = "^1.0.0"
nbqa = "^1.7.0"
matplotlib = "^3.8.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# Black config.
[tool.black]
# How many characters per line to allow.
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length
line-length = 88
# Don't skip skip temporary sanity checks.
safe = true
# Python versions that should be supported by Black's output.
target-version = ["py39"]
# Set to true to preview style changes that may be added in black's next major release.
preview = false
# isort config.
[tool.isort]
profile = "black"
# mypy config.
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = "spectral.*"
ignore_missing_imports = true
# pytest config.
[tool.pytest.ini_options]
testpaths = ["tests"]