Skip to content

Commit 336487e

Browse files
authored
Create pyproject.toml
1 parent 5807ec4 commit 336487e

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

pyproject.toml

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
[project]
2+
name = "umfile_utils"
3+
authors = [
4+
{ name = "ACCESS-NRI" },
5+
]
6+
description = "Intake catalog managed by ACCESS-NRI and associated tools"
7+
requires-python = ">=3.10"
8+
license = { text = "Apache-2.0" }
9+
classifiers = [
10+
"Development Status :: 4 - Beta",
11+
"Programming Language :: Python :: 3",
12+
"License :: OSI Approved :: Apache Software License",
13+
"Operating System :: OS Independent",
14+
]
15+
dependencies = [
16+
"cftime",
17+
"ecgtools>=2023.7.13",
18+
"intake==0.7.0",
19+
"intake-dataframe-catalog>=0.2.4",
20+
"intake-esm>=2023.11.10",
21+
"jsonschema",
22+
"pooch",
23+
"xarray",
24+
"pytest"
25+
]
26+
dynamic = ["version"]
27+
28+
[build-system]
29+
build-backend = "setuptools.build_meta"
30+
requires = [
31+
"setuptools >= 61.0.0",
32+
"versioneer[toml]",
33+
]
34+
35+
[tool.setuptools.packages.find]
36+
where = ["src"]
37+
38+
[tool.versioneer]
39+
VCS = "git"
40+
style = "pep440"
41+
versionfile_source = "src/access_nri_intake/_version.py"
42+
versionfile_build = "access_nri_intake/_version.py"
43+
tag_prefix = "v"
44+
parentdir_prefix = "access-nri-intake-"
45+
46+
[tool.coverage.run]
47+
omit = [
48+
"*/_version.py",
49+
"*/data/__init__.py",
50+
]
51+
52+
[tool.ruff]
53+
target-version = "py39"
54+
exclude = [
55+
".bzr",
56+
".direnv",
57+
".eggs",
58+
".git",
59+
".hg",
60+
".mypy_cache",
61+
".nox",
62+
".pants.d",
63+
".ruff_cache",
64+
".svn",
65+
".tox",
66+
".venv",
67+
"__pypackages__",
68+
"_build",
69+
"buck-out",
70+
"build",
71+
"dist",
72+
"node_modules",
73+
"venv",
74+
]
75+
# E402: module level import not at top of file
76+
# E501: line too long - let black worry about that
77+
ignore = [
78+
"E402",
79+
"E501",
80+
]
81+
select = [
82+
# Pyflakes
83+
"F",
84+
# Pycodestyle
85+
"E",
86+
"W",
87+
# isort
88+
"I",
89+
# Pyupgrade
90+
"UP",
91+
]
92+
93+
[tool.ruff.mccabe]
94+
max-complexity = 18
95+
96+
[tool.ruff.isort]
97+
known-first-party = ["umfile_utils"]

0 commit comments

Comments
 (0)