-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
57 lines (48 loc) · 1.43 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
[project]
name = "ec_modules"
authors = [
{ name = "Contributors listed in AUTHORS", email = "[email protected]" },
]
maintainers = [
{ name = "Ivan Ruiz Manuel", email = "[email protected]" },
]
description = "Helper workflows for faster and better energy systems modelling prototyping."
readme = "README.md"
requires-python = ">=3.12"
keywords = ["energy systems", "modelling", "workflows"]
license = { text = "MIT" }
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
dynamic = ["version", "dependencies"]
[tool.codespell]
skip = 'tests/*.py,AUTHORS,*.shp,*.geojson'
count = ''
quiet-level = 3
ignore-words-list = "socio-economic,manuel,Wirth"
[tool.ruff]
target-version = "py311"
builtins = ["snakemake"]
[tool.ruff.lint]
select = ["E", "F", "I", "Q", "W", "D", "PT", "C90"]
ignore = ["D100"]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"**/wrapper.py" = ["F821"]
"__init__.py" = ["E402", "F401", "D104"]
"*.ipynb" = ["E402"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-doc-length = 200
ignore-overlong-task-comments = true
[tool.ruff.format]
exclude = [".*.egg-info", "requirements/**"]
skip-magic-trailing-comma = true