-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.15 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (86 loc) · 2.15 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
90
91
92
93
94
95
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{name = "Alban Farchi", email = "alban.farchi@ecmwf.int"},
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Matplotlib",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"cartopy",
"ipympl",
"ipython",
"ipywidgets",
"matplotlib",
"numpy",
"pandas",
"xarray",
]
description = "Personal python toolbox to make interactive plot in python notebooks"
name = "daaf-plot"
readme = "README.md"
requires-python = ">= 3.11"
version = "1.1.1"
keywords = [
"visualization",
"interactive plots",
"notebooks",
]
[project.urls]
Issues = "https://github.com/aFarchi/daaf-plot/issues"
Source = "https://github.com/aFarchi/daaf-plot"
[tool.ruff]
preview = true
[tool.ruff.format]
docstring-code-format = true
quote-style = "single"
[tool.ruff.lint]
flake8-quotes.inline-quotes = "single"
pydocstyle.convention = "google"
pylint.allow-magic-value-types = ["int", "str"]
pylint.max-args = 15
pylint.max-locals = 20
pylint.max-statements = 75
select = ["ALL"]
ignore = [
# no anotations
"ANN",
# no copyright on files
"CPY001",
# no docstrings
"D",
]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["osx-arm64"]
[tool.pixi.pypi-dependencies]
daaf_plot = { path = ".", editable = true }
[tool.pixi.tasks]
lint = "ruff check"
format = "ruff format --config \"lint.ignore = ['COM812']\""
jl = "jupyter lab --no-browser"
[tool.pixi.dependencies]
cartopy = ">=0.25.0,<0.26"
ipympl = ">=0.10.0,<0.11"
ipython = ">=9.13.0,<10"
ipywidgets = ">=8.1.8,<9"
matplotlib = ">=3.10.9,<4"
numpy = ">=2.4.3,<3"
pandas = ">=3.0.2,<4"
xarray = ">=2026.4.0,<2027"
pixi-pycharm = ">=0.0.11,<0.0.12"
ruff = ">=0.15.12,<0.16"
netcdf4 = ">=1.7.4,<2"
ipykernel = ">=7.2.0,<8"
jupyterlab = ">=4.5.7,<5"