-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (55 loc) · 1.46 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
[tool.poetry]
name = "dscreator"
version = "0.1.0"
description = ""
authors = ["Kim Nes Leirvik <kim.leirvik@niva.no>"]
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
typer = "^0.6.1"
psycopg2-binary = "^2.9.3"
typing-extensions = "^4.3.0"
xarray = "^2023.5.0"
cf-units = "^3.1.1"
pydantic = "^2.0.1"
requests = "^2.28.1"
tenacity = "^8.1.0"
google-cloud-storage = "^2.7.0"
SQLAlchemy = "^2.0.0"
rioxarray = "^0.14.1"
netcdf4 = "^1.6.5"
pydantic-settings = "^2.0.3"
cf-xarray = "^0.8.4"
numpy = "^1.26.4"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
isort = "^5.10.1"
black = {extras = ["jupyter"], version = "^23.1.0"}
ipykernel = "^6.15.2"
matplotlib = "^3.5.3"
requests-mock = "^1.10.0"
nc-time-axis = "^1.4.1"
pytest-docker = "^2.0.0"
lxml = "^4.9.4"
[tool.poetry.group.plots.dependencies]
scipy = "^1.10.1"
movingpandas = "^0.15rc1"
hvplot = "^0.8.2"
geoviews = "^1.9.6"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
dscreator = 'dscreator.main:app'
[tool.black]
line-length = 120
target_version = ['py310']
include = '\.py$'
[tool.isort]
line_length=120 # corresponds to -w flag
multi_line_output=3 # corresponds to -m flag
include_trailing_comma=true # corresponds to -tc flag
skip_glob = '^((?!py$).)*$' # this makes sort all Python files
[tool.pytest.ini_options]
markers = [
"docker: marks tests to run with docker (deselect with '-m \"not docker\"')"
]