-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (60 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (60 loc) · 1.82 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
[project]
name = "rocketstruct"
dynamic = ["version"]
description = "Structural analysis for pressure vessels, plates, and bolted joints"
readme = "README.md"
authors = [{ name = "Felipe Bogaerts de Mattos", email = "me@felipebm.com" }]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
keywords = ["structural", "mechanical", "pressure-vessel", "bolted-joint"]
requires-python = ">=3.11,<3.14"
dependencies = [
"numpy>=2.0.0,<3.0.0",
]
[project.urls]
Homepage = "https://github.com/felipebogaertsm/rocketstruct"
[dependency-groups]
dev = [
"ruff",
"pyright",
"pytest",
"pytest-cov>=6.2.1,<8.0.0",
"pre-commit>=4.0.0,<5.0.0",
]
docs = [
"mkdocs>=1.6.0,<2.0.0",
"mkdocs-material>=9.5.0,<10.0.0",
"mkdocstrings[python]>=0.27.0,<1.1.0",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "rocketstruct/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["rocketstruct"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["D"]
extend-select = ["D213", "D407"]
# Skipped intentionally:
# D100, D104: module/package docstrings not required.
# D102, D105, D107: trivial methods, magic methods, and __init__ are not
# required to be documented (getters, simple delegations, etc.). When the
# behavior is non-obvious, document it; otherwise let the name speak.
# D203, D212: incompatible with Google convention.
ignore = ["D100", "D102", "D104", "D105", "D107", "D203", "D212"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-doc-length = 88
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D"]
"docs/**" = ["D"]