-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
97 lines (84 loc) · 2.62 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
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
90
91
92
93
94
95
96
97
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "geolysis"
description = "geolysis.core is an opensource software for geotechnical engineering analysis and modeling."
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "MIT License" }
requires-python = ">=3.11"
keywords = [
"discrete-element-method",
"geotechnical-engineering",
"soil-classification",
"settlement-analysis",
"bearing-capacity-analysis",
]
authors = [{ name = "Patrick Boateng", email = "boatengpato.pb@gmail.com" }]
dependencies = []
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = { attr = "geolysis.__version__" }
[project.urls]
Homepage = "https://github.com/patrickboateng/geolysis"
Documentation = "https://geolysis.readthedocs.org"
Repository = "https://github.com/patrickboateng/geolysis"
"Issue Tracker" = "https://github.com/patrickboateng/geolysis/issues"
Discussions = "https://github.com/patrickboateng/geolysis/discussions"
[tool.setuptools.packages.find]
include = ["geolysis*"]
exclude = ["tests*"]
namespaces = false
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "coverage"]
[tool.pytest.ini_options]
addopts = "-ra --verbose --strict-markers --doctest-modules --ignore-glob=**/ui/*"
minversion = "6.0"
testpaths = ["tests", "geolysis"]
doctest_optionflags = ["IGNORE_EXCEPTION_DETAIL", "NUMBER"]
[tool.docformatter]
style = "sphinx"
black = true
wrap-summaries = 79
wrap-descriptions = 79
pre-summary-newline = false
make-summary-multi-line = false
close-quotes-on-newline = true
[tool.pydocstyle]
# convention = "pep257"
ignore = ["D107", "D200"]
[tool.coverage.report]
exclude_also = [
"def __repr__",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
[tool.ruff]
line-length = 79
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
docstring-code-line-length = 79
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"utils.py" = ["F401"]
"soil_classifier.py" = ["F821", "E741"]