-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (45 loc) · 1.23 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (45 loc) · 1.23 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
[project]
authors = [{ name = "Geoff Boeing", email = "boeing@usc.edu" }]
dependencies = [
"jupyterlab>=4.5.7",
"nbdime>=4.0.0",
"osmnx[all]>=2.1.0",
"prek>=0.4.0",
"seaborn>=0.13.0",
]
description = "Template for rapidly starting new projects that include data, code, and a LaTeX paper. "
license = "MIT"
license-files = ["LICENSE"]
name = "project-template"
readme = "README.md"
requires-python = "==3.14.*"
version = "0.0.0"
[tool.mypy]
cache_dir = "~/.cache/prek/cache/mypy"
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
ignore_missing_imports = true
python_version = "3.14"
strict = true
warn_no_return = true
warn_unreachable = true
[tool.numpydoc_validation]
checks = ["all", "ES01", "EX01", "GL08", "PR04", "SA01"]
[tool.ruff]
cache-dir = "~/.cache/prek/cache/ruff"
exclude = ["build/*"]
line-length = 100
[tool.ruff.lint]
extend-ignore = ["T201"]
extend-select = ["ALL"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.pycodestyle]
max-line-length = 110 # line length + 10% since it isn't a hard upper bound
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.pylint]
max-args = 6
[tool.uv]
required-version = "==0.11.*"