-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
135 lines (118 loc) · 2.38 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "astra"
dynamic = ["version"]
description = "Polaris 2.0 Satellite Weather Impact Analysis Model"
authors = [{ name = "e_gleba" }]
readme = "readme.md"
requires-python = ">=3.13"
license = { text = "MIT" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
# Core Scientific Stack
"numpy>=1.20",
"scipy>=1.7",
"pandas>=1.3",
"scikit-learn>=1.0",
"python-dateutil>=2.8",
# Visualization
"pyecharts>=1.9",
# Statistics and ML
"statsmodels>=0.13",
"xgboost>=1.5",
"mlflow>=1.20",
# Utilities
"requests>=2.26",
"playwright>=1.50.0",
"typer>=0.15.1",
"rich>=13.9.4",
"polars>=1.26.0",
"mlflow>=2.21.0",
]
[tool.hatch.build.targets.wheel]
packages = ["astra"]
[project.scripts]
astra = "astra.cli:app"
ast = "astra.cli:app"
[tool.hatch.version]
source = "vcs"
[project.optional-dependencies]
dev = [
# Development Tools
"black>=23.0",
"pyright>=1.1",
"pytest>=7.0",
"pytest-cov>=3.0",
"mypy>=1.0",
"ruff>=0.11.2",
"pylint>=3.3.6",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "*.py"
addopts = ["--import-mode=importlib", "--strict-markers"]
[tool.black]
line-length = 80
target-version = ["py313"]
include = '\.pyi?$'
extend-exclude = '''
^/tests/data/
^/data/
^/.github/
^/img/
^/docker/
^/htmlcov/
^/cfg/
^/docs/
^/.pytest_cache
^/*.md
'''
[tool.pyright]
include = ["astra"]
exclude = [
"**/node_modules",
"**/__pycache__",
"tests/data",
"data",
"img",
"docker",
".github",
"htmlcov",
"dist",
"cfg",
"docs",
"docker",
]
strict = ["astra"]
typeCheckingMode = "strict"
useLibraryCodeForTypes = true
[tool.mypy]
python_version = "3.13"
strict = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
disallow_untyped_defs = true
check_untyped_defs = true
[tool.ruff]
exclude = [
".git",
".mypy_cache",
".venv",
"venv",
"dist",
"node_modules",
"docker",
"docs",
"img",
".github",
]