-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (64 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
73 lines (64 loc) · 1.99 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "docker_fvs"
version = "0.1.0"
description = "Dockerized versions of Forest Vegetation Simulator."
authors = [
{ name = "David Diaz", email = "ddiaz@vibranplanet.net" }
]
license = {text = "CC-BY-NC-SA-4.0"}
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.11"
dynamic = ["dependencies", "optional-dependencies"]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
optional-dependencies = { dev = { file = ["requirements-dev.txt"] } }
[tool.ruff]
required-version = ">=0.11"
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 80
indent-width = 4
[tool.ruff.lint]
select = ["A", "AIR", "ARG", "ASYNC", "BLE", "C4", "COM", "D", "DJ", "DTZ", "E", "EM", "EXE", "F", "FA", "FBT", "FIX", "G", "I", "ICN", "INP", "INT", "ISC", "NPY201", "PD", "PIE", "PT", "PYI", "Q", "RET", "RSE", "SIM", "SLF", "SLOT", "T10", "T20", "TD", "TID", "UP", "W", "YTT"]
ignore = ["COM812", "D100", "D104", "D105", "D107", "D203", "D213", "D215", "D400", "D401", "D404", "D406", "D407", "D408", "D409", "D413", "E501", "FBT001", "FBT002", "FIX002", "G004", "ISC001", "TD003", "ARG002", "ARG004", "FBT001", "FBT002", "PIE796", "PT018", "PYI024", "PYI041", "SIM102", "SIM115", "SIM117", "SLF001"]
[tool.ruff.lint.isort]
known-first-party = ["docker_fvs"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.per-file-ignores]
# Ignore pydocstyle and generic df names in test files.
"test_*.py" = ["D", "PD901"]
[tool.mypy]
mypy_path = "docker_fvs"
files = "docker_fvs"