-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (50 loc) · 1.33 KB
/
pyproject.toml
File metadata and controls
56 lines (50 loc) · 1.33 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
[tool.poetry]
name = "attrici"
## name = "iwr_project_attrici"
version = "0.0.1"
description = "CI and automated testing integration for attrici, IWR project"
authors = ["Anna Buch <a.buch@stud.uni-heidelberg.de>"]
readme = "README.md"
### packages = [{include = "iwr_project_attrici"}]
[tool.poetry.dependencies]
python = ">=3.10.11,<3.13"
pandas = ">=2.0.1"
netcdf4 = ">=1.6.3"
matplotlib = ">=3.7.2"
arviz = ">=0.16.1"
func-timeout = ">=4.3.5"
pip = ">=23.3.2"
tables = ">=3.9.2"
xarray = ">=2023.12.0"
pre-commit = ">=3.7.0"
pytest-datafiles = ">=3.0.0"
numpy = ">=1.26.4"
pymc = "^5.14.0"
parameterized = "^0.9.0"
[tool.poetry.dev-dependencies]
black = ">=23.3.0"
pytest = ">=7.2.2"
pytest-cov = ">=4.0.0"
ruff = ">=0.0.275"
[tool.black]
line-length = 150
#exclude = ["versioneer.py", "visual_check.py"]
## exclude = "\.pyi?$" #extend-exclude = '''.*test_.*'''
[tool.ruff]
lint.select = [
"E", # pycodestyle Error
"F", # Pyflakes
"I", # isort
"Q", # flake8-quotes
"W", # pycodestyle Warning
"C90", # mccabe
]
fix = true
lint.ignore = ["C901", "E714", "I001"]
exclude = [".venv", ".ipynb", "versioneer.py"]
line-length = 150 # Same as Black
[tool.ruff.lint.per-file-ignores]
"attrici/sanity_check/visual_check.py" = ["E501"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"