Skip to content

Commit 0bb2be2

Browse files
authored
chore: update project settings per scientific python repo-review (#1863)
* chore: update project settings per scientific python repo-review suggestions * newline * udpate maintainers
1 parent 8da3df6 commit 0bb2be2

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ updates:
55
directory: "/"
66
schedule:
77
interval: "daily"
8+
groups:
9+
actions:
10+
patterns:
11+
- "*"
812
- package-ecosystem: "github-actions"
913
directory: "/"
1014
schedule:
1115
interval: "weekly"
16+
groups:
17+
actions:
18+
patterns:
19+
- "*"

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
branches: [ v3 ]
99
pull_request:
1010
branches: [ v3 ]
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
1116

1217
jobs:
1318
test:

pyproject.toml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@ build-backend = "hatchling.build"
77
name = "zarr"
88
description = "An implementation of chunked, compressed, N-dimensional arrays for Python"
99
readme = { file = "README.md", content-type = "text/markdown" }
10+
authors = [
11+
{ name = "Alistair Miles", email = "[email protected]" },
12+
]
1013
maintainers = [
11-
{ name = "Alistair Miles", email = "[email protected]" }
14+
{ name = "Davis Bennett", email = "[email protected]" },
15+
{ name = "jakirkham" },
16+
{ name = "Josh Moore", email = "[email protected]" },
17+
{ name = "Joe Hamman", email = "[email protected]" },
18+
{ name = "Juan Nunez-Iglesias", email = "[email protected]" },
19+
{ name = "Martin Durant", email = "[email protected]" },
20+
{ name = "Norman Rzepka" },
21+
{ name = "Ryan Abernathey" }
1222
]
1323
requires-python = ">=3.10"
1424
dependencies = [
@@ -38,7 +48,8 @@ classifiers = [
3848
'Programming Language :: Python :: 3.11',
3949
'Programming Language :: Python :: 3.12',
4050
]
41-
license = "MIT"
51+
license = {text = "MIT License"}
52+
keywords = ["Python", "compressed", "ndimensional-arrays", "zarr"]
4253

4354
[project.optional-dependencies]
4455
jupyter = [
@@ -131,6 +142,7 @@ serve = "sphinx-autobuild docs docs/_build --ignore 'docs/_autoapi/**/*' --host
131142

132143
[tool.ruff]
133144
line-length = 100
145+
src = ["src"]
134146
force-exclude = true
135147
extend-exclude = [
136148
".bzr",
@@ -207,14 +219,18 @@ disallow_untyped_calls = false
207219

208220

209221
[tool.pytest.ini_options]
222+
minversion = "7"
223+
testpaths = ["tests"]
224+
log_cli_level = "INFO"
225+
xfail_strict = true
210226
asyncio_mode = "auto"
211227
doctest_optionflags = [
212228
"NORMALIZE_WHITESPACE",
213229
"ELLIPSIS",
214230
"IGNORE_EXCEPTION_DETAIL",
215231
]
216232
addopts = [
217-
"--durations=10",
233+
"--durations=10", "-ra", "--strict-config", "--strict-markers",
218234
]
219235
filterwarnings = [
220236
"error:::zarr.*",

0 commit comments

Comments
 (0)