-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
138 lines (127 loc) · 3.4 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
136
137
138
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "pyaurorax"
version = "1.12.0"
description = "Python library for interacting with the AuroraX platform"
readme = "README.md"
homepage = "https://github.com/aurorax-space/pyaurorax"
repository = "https://github.com/aurorax-space/pyaurorax"
authors = [
"Darren Chaddock <dchaddoc@ucalgary.ca>",
"Josh Houghton <joshua.houghton1@ucalgary.ca>"
]
maintainers = [
"Darren Chaddock <dchaddoc@ucalgary.ca>",
"Josh Houghton <joshua.houghton1@ucalgary.ca>"
]
license = "Apache License 2.0"
packages = [
{ include = "pyaurorax" },
]
classifiers = [
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries",
]
keywords = [
"aurorax",
"space physics",
"aurora",
"aurora borealis",
"northern lights",
"southern lights",
]
[tool.poetry.urls]
"Documentation" = "https://docs.aurorax.space/code/overview"
"API Reference" = "https://docs.aurorax.space/code/pyaurorax_api_reference/pyaurorax"
"Bug Tracker" = "https://github.com/aurorax-space/pyaurorax/issues"
"AuroraX Platform" = "https://aurorax.space"
"UCalgary SRS Open Data Platform" = "https://data.phys.ucalgary.ca"
[tool.poetry.dependencies]
python = ">=3.9,<4"
requests = "^2.28.1"
humanize = "^4.4.0"
click = "^8.1.3"
texttable = "^1.6.4"
aacgmv2 = "^2.6.2"
termcolor = "^2.0.1"
python-dateutil = "^2.8.2"
numpy = "^1.26.4"
matplotlib = "^3.9.0"
pyproj = "^3.6.1"
cartopy = "^0.23.0"
pyucalgarysrs = "1.18.0"
[tool.poetry.scripts]
aurorax-cli = "pyaurorax.cli.cli:cli"
[tool.poetry.group.dev.dependencies]
ruff = "0.9.4"
pytest = "8.3.4"
pycodestyle = "2.12.1"
yapf = "0.43.0"
pytest-xdist = "3.6.1"
pytest-sugar = "1.0.0"
pytest-cov = "6.0.0"
bandit = "1.8.2"
pyright = "1.1.393"
pdoc3 = "0.11.5"
python-dotenv = "1.0.1"
tabulate = "0.9.0"
jupyter = "^1.1.1"
iprogress = "^0.4"
ipywidgets = "^8.1.5"
ipykernel = "^6.29.5"
pandas = "^2.2.3"
nbmake = "^1.5.5"
[tool.ruff]
line-length = 150
lint.select = ["E", "F", "B", "N"]
lint.ignore = [
"B006", # Do not use mutable data structures for argument defaults
]
exclude = ["pyaurorax/__init__.py"]
[tool.yapf]
based_on_style = "pep8"
column_limit = 150
allow_split_before_dict_value = false
[tool.yapfignore]
ignore_patterns = [
"temp/**/*.py",
]
[tool.pyright]
include = [
"pyaurorax/*.py",
"pyaurorax/**/*.py",
"examples/**/*.py",
"examples/**/*.ipynb",
"tests/test_suite/**/*.py",
"tests/test_suite/*.py",
]
typeCheckingMode = "standard"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning:aacgmv2.*", # aacgmv2 v1.7.2 has a DeprecationWarning showing up, so we ignore it (https://github.com/aburrell/aacgmv2/issues/94)
]
testpaths = [
"tests/test_suite/**/*.py",
"tests/test_suite/*.py",
]
markers = [
"top_level: top level PyAuroraX object tests",
"search_ro: search engine read-only tests",
"search_rw: search engine read/write tests",
"cli: command line interface tests",
"data: data retrieval/reading tests",
"models: model tests",
"tools: analysis support tools tests",
]
[tool.bandit]
exclude_dirs = ["src/test_suite"]
tests = []
skips = []