Skip to content

Commit

Permalink
chore: update project settings per scientific python repo-review (#1863)
Browse files Browse the repository at this point in the history
* chore: update project settings per scientific python repo-review
suggestions

* newline

* udpate maintainers
  • Loading branch information
jhamman authored May 13, 2024
1 parent 8da3df6 commit 0bb2be2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ updates:
directory: "/"
schedule:
interval: "daily"
groups:
actions:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
actions:
patterns:
- "*"
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
branches: [ v3 ]
pull_request:
branches: [ v3 ]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
Expand Down
22 changes: 19 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ build-backend = "hatchling.build"
name = "zarr"
description = "An implementation of chunked, compressed, N-dimensional arrays for Python"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "Alistair Miles", email = "alimanfoo@googlemail.com" },
]
maintainers = [
{ name = "Alistair Miles", email = "alimanfoo@googlemail.com" }
{ name = "Davis Bennett", email = "davis.v.bennett@gmail.com" },
{ name = "jakirkham" },
{ name = "Josh Moore", email = "josh@openmicroscopy.org" },
{ name = "Joe Hamman", email = "joe@earthmover.io" },
{ name = "Juan Nunez-Iglesias", email = "juan.nunez-iglesias@monash.edu" },
{ name = "Martin Durant", email = "mdurant@anaconda.com" },
{ name = "Norman Rzepka" },
{ name = "Ryan Abernathey" }
]
requires-python = ">=3.10"
dependencies = [
Expand Down Expand Up @@ -38,7 +48,8 @@ classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
license = "MIT"
license = {text = "MIT License"}
keywords = ["Python", "compressed", "ndimensional-arrays", "zarr"]

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

[tool.ruff]
line-length = 100
src = ["src"]
force-exclude = true
extend-exclude = [
".bzr",
Expand Down Expand Up @@ -207,14 +219,18 @@ disallow_untyped_calls = false


[tool.pytest.ini_options]
minversion = "7"
testpaths = ["tests"]
log_cli_level = "INFO"
xfail_strict = true
asyncio_mode = "auto"
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"ELLIPSIS",
"IGNORE_EXCEPTION_DETAIL",
]
addopts = [
"--durations=10",
"--durations=10", "-ra", "--strict-config", "--strict-markers",
]
filterwarnings = [
"error:::zarr.*",
Expand Down

0 comments on commit 0bb2be2

Please sign in to comment.