-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (95 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
105 lines (95 loc) · 2.27 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
103
104
105
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "regressionlab"
version = "1.1.2"
description = "Scientific curve fitting application with GUI"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "Alejandro Mata Ali", email = "alejandro.mata.ali@gmail.com"}
]
keywords = ["curve-fitting", "scientific", "data-analysis"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"numpy>=2.0,<3.0",
"matplotlib>=3.10,<4.0",
"scipy>=1.17,<2.0",
"pandas>=2.3,<3.0",
"openpyxl>=3.1,<4.0",
"Pillow>=10.0,<11.0",
"python-dotenv>=1.0,<2.0",
"colorama>=0.4,<1.0",
"PyYAML>=6.0,<7.0",
"streamlit>=1.31,<2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0,<8.0",
"pytest-cov>=4.0,<5.0",
"black>=23.0,<24.0",
"ruff>=0.1,<1.0",
"mypy>=1.0,<2.0",
"pre-commit>=3.0,<4.0",
]
docs = [
"sphinx>=9.0.0",
"sphinx-rtd-theme>=3.0.0",
"myst-parser>=5.0.0",
"sphinx-autodoc-typehints>=3.0.0",
"linkify-it-py>=2.0.0",
]
[project.scripts]
regressionlab = "regressionlab.main_program:main"
regressionlab-streamlit = "regressionlab.streamlit_runner:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["src"]
omit = ["tests/*", "scripts/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.black]
line-length = 100
target-version = ['py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.mypy_cache
| \.pytest_cache
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true