-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (97 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
112 lines (97 loc) · 2.19 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
106
107
108
109
110
111
112
[build-system]
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
[project]
name = "act-atmos"
description = "Package for working with atmospheric time series datasets"
authors = [
{name = "Adam Theisen", email = "[email protected]"},
]
license = "BSD-3-Clause"
license-files = ["LICENSE.txt"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Programming Language :: Python :: 3",
]
urls = {Homepage = "https://github.com/ARM-DOE/ACT"}
dynamic = ["readme", "version", "dependencies", "optional-dependencies"]
[project.scripts]
run-ads = "scripts.ads:main"
[dependency-groups]
test = [
"pytest>=9.0.1",
]
[tool.setuptools]
include-package-data = true
platforms = [
"Linux",
"Mac OS-X",
"Unix",
"Windows",
]
[tool.setuptools.packages.find]
exclude = ["docs"]
namespaces = false
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
[tool.setuptools.dynamic]
dependencies = {file= ["requirements.txt"]}
readme = {file = ["README.rst"], content-type = "text/x-rst"}
[tool.setuptools.dynamic.optional-dependencies]
dev = {file = ["requirements_dev.txt"]}
[tool.black]
line-length = 100
target-version = ['py38']
skip-string-normalization = true
ignore = ["act/io/arm.py"]
[tool.check-manifest]
ignore = ["docs/*", "ci/*"]
[tool.ruff]
target-version = "py39"
builtins = ["ellipsis"]
exclude = [
"act/tests/data/",
"docs",
"*__init__.py*",
"setup.cfg",
".eggs"]
[tool.ruff.lint]
ignore = [
"E203",
"E266",
"E501",
"F503",
"E722",
"E402",
"C901",
"E731",
"F401"
]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
# Pyupgrade
"UP",
]
[tool.isort]
profile = "black"
known_first_party = ["act"]
known_third_party = []
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 100
skip = ["docs/source/conf.py", "setup.py"]
[tool.pytest.ini_options]
addopts = "--cov=./ --cov-report=xml --verbose"
markers = [
"mpl_image_compare: Just registering the third party marker test so pytest stops issuing a warning.",
]