-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (91 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
102 lines (91 loc) · 2.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
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
98
99
100
101
102
[project]
name = "stoneforge"
version = "0.2.1"
authors = [
{name = "GIECAR - UFF"},
{name = "Wagner M. Lupinacci"},
{name = "Fernando Vizeu"},
{name = "Fábio Júnior D Fernandes"},
{name = "José A. V. Dias"},
{name = "Mario M. Ramos"},
{name = "Jordan S. Cuno"},
{name = "João Vitor A. Estrella"},
{name = "Ana Carolina Oliveira de Almeida"},
{name = "Breno D. Chrispim"},
]
license = "MIT"
description = "Geophysics equations, algorithms and methods"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"dlisio>=1.0.4",
"numpy>=2.2.0",
"pytest>=8.3.4",
"scipy>=1.14.1",
"scikit-learn>=1.6.1",
"matplotlib>=3.10.0",
"pandas>=2.2.2",
"hypothesis>=6.148.6"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Programming Language :: Python :: 3"
]
[project.urls]
homepage = "https://github.com/giecaruff/stoneforge"
[tool.hatch.metadata]
allow-direct-references = true
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[dependency-groups]
dev = [
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
"ruff>=0.11.8",
"sphinx>=8.1.3",
"sphinx-autodoc-typehints>=3.0.1",
"sphinx-rtd-theme>=3.0.2",
"sphinxcontrib-bibtex>=2.6.5",
]
[tool.hatch.build]
include = ["stoneforge/**"] # Include the main package
exclude = ["tests", "docs", "examples"] # Exclude unnecessary files
[tool.uv]
package = true
[tool.ruff]
# Set the maximum line length to 79.
line-length = 79
indent-width = 4
[tool.ruff.lint]
extend-select = [
"D", # pydocstyle
"NPY", # numPy specific rules npy
"PD", # Pandas-vet
"N", # PEP8
"PL", # Pylint
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
pythonpath = "stoneforge"
minversion = "6.0"
addopts = [
"-ra",
"-q",
"--strict-markers",
"--strict-config",
"--verbose",
"--tb=short",
"--cov=stoneforge",
"--cov-report=term-missing:skip-covered",
"--cov-report=html:htmlcov",
"--cov-report=xml",
"--cov-fail-under=30",
]
testpaths = [
"tests",
]
norecursedirs = [".venv", ".git", "__pycache__"]