-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
96 lines (89 loc) · 2.4 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[tool.poetry]
name = "thalassa-server"
version = "0.0.0" # overwritten by poetry-dynamic-versioning plugin
description = "A webapp for visualizing large scale results of hydrodynamic simulations using thalassa"
authors = ["Panos Mavrogiorgos <[email protected]>"]
license = 'EUPL-1.2'
readme = "README.md"
packages = [{include = "thalassa_server"}]
repository = "https://github.com/oceanmodeling/thalassa-server.git"
classifiers = [
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Visualization",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = ">=3.9, <4.0"
geoviews = "*"
holoviews = "*"
panel = "*"
param = "*"
"ruamel.yaml" = "*"
thalassa = ">=0.4.1"
xarray = "*"
[tool.poetry.group.dev.dependencies]
mypy = ">=1"
[build-system]
requires = [
"poetry-core>=1.0.0",
"poetry-dynamic-versioning",
]
build-backend = "poetry_dynamic_versioning.backend"
[tool.black]
line-length = 108
target-version = ['py39']
[tool.mypy]
python_version = "3.9"
plugins = [
"numpy.typing.mypy_plugin"
]
show_error_codes = true
show_column_numbers = true
show_error_context = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
strict = true
ignore_missing_imports = true
# mypy per-module options:
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = true
[tool.ruff]
target-version = "py39"
line-length = 108
select = [
"E", # pycodestyle
"F", # pyflakes
"C90", # mccabe
"A", # flake8-builtins
"COM", # flake8-commas
# "UP", # pyupgrade
# "YTT", # flake-2020
# "S", # floke8-bandit
# "BLE", # flake8-blind-except
# "B", # flake8-bugbear
# "T20", # flake8-print
# "PD", # pandas-vet
# "NPY", # numpy-specific rules
# "RUF", # ruff-specific rules
# "D", # pydocstyle
# "I", # isort
# "N", # pep8-naming
]
ignore = [
"E501", # line-too-long
"D103", # undocumented-public-function
"PD901", # pandas-df-variable-name
]