From 0bb2be223f419c73fd59fa0d6171d614c144bf8c Mon Sep 17 00:00:00 2001 From: Joe Hamman Date: Mon, 13 May 2024 08:51:04 -0700 Subject: [PATCH] chore: update project settings per scientific python repo-review (#1863) * chore: update project settings per scientific python repo-review suggestions * newline * udpate maintainers --- .github/dependabot.yml | 8 ++++++++ .github/workflows/test.yml | 5 +++++ pyproject.toml | 22 +++++++++++++++++++--- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d8e8d4d57a..52fe24c7a7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,15 @@ updates: directory: "/" schedule: interval: "daily" + groups: + actions: + patterns: + - "*" - package-ecosystem: "github-actions" directory: "/" schedule: interval: "weekly" + groups: + actions: + patterns: + - "*" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fee7380511..d063186b27 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 1ab68baed5..38c97c2815 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ @@ -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 = [ @@ -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", @@ -207,6 +219,10 @@ 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", @@ -214,7 +230,7 @@ doctest_optionflags = [ "IGNORE_EXCEPTION_DETAIL", ] addopts = [ - "--durations=10", + "--durations=10", "-ra", "--strict-config", "--strict-markers", ] filterwarnings = [ "error:::zarr.*",