-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (75 loc) · 1.96 KB
/
pyproject.toml
File metadata and controls
89 lines (75 loc) · 1.96 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools>=65.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "carpDocs"
version = "0.0.1"
description = "Documentation for carp"
authors = [
{ name = "Miguel Villa Floran", email = "miguel.villafloran@gmail.com" },
]
requires-python = ">=3.10"
readme = "README.md"
license = { file = "LICENSE" }
# Documentation-specific dependencies
dependencies = [
"pygments>=2.19.1",
"docutils>=0.21.2",
"furo>=2024.8.6",
"livereload>=2.7.1",
"myst-parser>=4.0.1",
"pycodestyle>=2.12.1",
"sphinx>=8.1.3",
"sphinx-autobuild>=2024.10.3",
"sphinx-favicon>=1.0.1",
"sphinx-tabs>=3.4.7",
"sphinxcontrib-mermaid>=1.0.0",
"sphinxcontrib-images>=1.0.1",
]
[dependency-groups]
dev = ["pre-commit>=4.1.0", "ipykernel>=6.29.5", "mypy>=1.15.0"]
[tool.setuptools]
packages = []
[tool.mypy]
exclude = "^.tmp/"
ignore_missing_imports = true
[tool.bandit]
skips = ['B101']
[tool.ruff]
extend-exclude = [
"__pycache__",
"docs",
"site",
".eggs",
".git",
".venv",
"build",
"dist",
"notebooks",
".cache",
]
line-length = 120
[tool.ruff.lint]
ignore = [
"E402", # Module level import not at top of file
"E501", # Line too long
"E203", # Whitespace before ':' -> conflicts with black
"D401", # First line should be in imperative mood
"RET504", # Unnecessary variable assignment before return statement
"RET505", # Unnecessary elif after return statement
"SIM102", # Use a single if-statement instead of nested if-statements
"SIM117", # Merge with statements for context managers that have same scope
"SIM118", # Checks for key-existence checks against dict.keys() calls
]
select = ["E", "F", "I"]
[tool.ruff.lint.per-file-ignores]
"*/__init__.py" = ["F401"] # Unused import
[tool.ruff.lint.isort]
known-first-party = [""]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
max-complexity = 30
[tool.pytest.ini_options]
cache_dir = ".pytest_cache"
pythonpath = [".", "scripts", "src"]