forked from microsoft/aurora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (91 loc) · 2.2 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
[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "microsoft-aurora"
description = "Implementation of the Aurora model"
authors = [
{name = "Cris Bodnar", email = "[email protected]"},
{name = "Wessel Bruinsma", email = "[email protected]"},
{name = "Ana Lucic", email = "[email protected]"},
{name = "Megan Stanley", email = "[email protected]"},
{name = "Patrick Garvan", email = "[email protected]"},
{name = "Johannes Brandstetter", email = "[email protected]"},
{name = "Richard E. Turner", email = "[email protected]"},
{name = "Paris Perdikaris", email = "[email protected]"},
]
license = {file = "LICENSE.txt"}
readme = "README.md"
keywords = [
"aurora model",
"atmospheric dynamics",
"atmospheric chemistry",
"deep learning",
"foundation models",
]
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
]
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"numpy",
"torch",
"einops",
"timm==0.6.13",
"huggingface-hub",
]
[project.optional-dependencies]
dev = [
"wheel",
"build",
"ghp-import",
"pytest",
"pytest-cov",
"mypy",
"ruff==0.4.1",
"pre-commit",
"jupyter-book",
"scipy",
]
[project.urls]
repository = "https://github.com/microsoft/aurora"
[tool.hatch.build]
include = ["aurora*", "LICENSE"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "aurora/_version.py"
[tool.coverage.run]
branch = true
command_line = "-m pytest --verbose test"
source = ["aurora"]
[tool.pytest.ini_options]
testpaths = ["tests/", "aurora", "docs"]
addopts = [
"-ra",
"-p",
"no:doctest",
]
minversion = "6.0"
[tool.ruff]
src = ["aurora"]
target-version = "py38"
line-length = 100
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D410",
"E", "W", # pycodestyle
"F", # Pyflakes
"I", # isort
"SIM", # flake8-simplify
"UP", # pyupgrade
]
ignore = ["F811", "B018"]
[tool.ruff.lint.isort]
known-local-folder = ["aurora"]
[tool.ruff.format]
docstring-code-format = true