-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (54 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
60 lines (54 loc) · 1.28 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
[tool.poetry]
name = "snicarfx"
version = "0.0.0"
description = ""
authors = ["snicar-fx team"]
packages = [
{ include = "snicarfx", from = "src" }
]
[tool.poetry.dependencies]
python = ">=3.10"
pandas = "^2.2.0"
matplotlib = "^3.10"
netCDF4 = "^1.7"
scipy = "^1.11"
xarray = "^2024.0.0"
pyyaml = "^6.0"
pydantic = ">=2.10"
[tool.poetry.dev-dependencies]
pytest = "^8.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py310"
lint.select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort (import sorting)
"N", # pep8-naming
"B", # bugbear (common bugs)
"UP", # pyupgrade
"C4", # comprehensions
"SIM",# simplify
"PERF", # performance
"RUF", # Ruff-specific rules
"ARG", # unused function arguments
"DTZ", # datetime tz-aware issues
"PIE", # misc style issues
"TCH", # type-checking
]
lint.ignore = [
"B008", # function call as default argument
"SIM105", # use contextlib.suppress (can be overkill)
]
lint.fixable = ["ALL"]
[tool.ruff.lint.isort]
known-first-party = ["snicarfx"]
combine-as-imports = true
force-single-line = false
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
skip-magic-trailing-comma = false