Skip to content

Commit 6de0d2e

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents b7d3e41 + 5eb737b commit 6de0d2e

File tree

9 files changed

+21
-11
lines changed

9 files changed

+21
-11
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,5 @@ zarr/version.py
7777
#doesnotexist
7878
#test_sync*
7979
data/*
80+
81+
.DS_Store

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ repos:
1717
rev: 23.10.0
1818
hooks:
1919
- id: black
20-
language_version: python3.8
2120
- repo: https://github.com/codespell-project/codespell
2221
rev: v2.2.6
2322
hooks:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
# General information about the project.
7070
project = "zarr"
71-
copyright = "2022, Zarr Developers"
71+
copyright = "2023, Zarr Developers"
7272
author = "Zarr Developers"
7373

7474
version = zarr.__version__

docs/release.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ Release notes
1818
Unreleased
1919
----------
2020

21+
Maintenance
22+
~~~~~~~~~~~
23+
24+
* Initialise some sets in tests with set literals instead of list literals.
25+
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1534`.
26+
27+
* Allow ``black`` code formatter to be run with any Python version.
28+
By :user:`David Stansby <dstansby>` :issue:`1549`
29+
2130
.. _release_2.16.1:
2231

2332
2.16.1

docs/spec.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Specifications
44
==============
55

66
.. toctree::
7-
:maxdepth: 3
7+
:maxdepth: 1
88

99
spec/v3
1010
spec/v2

docs/spec/v1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _spec_v1:
22

3-
Zarr storage specification version 1
3+
Zarr Storage Specification Version 1
44
====================================
55

66
This document provides a technical specification of the protocol and

docs/spec/v2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _spec_v2:
22

3-
Zarr storage specification version 2
3+
Zarr Storage Specification Version 2
44
====================================
55

66
This document provides a technical specification of the protocol and format

docs/spec/v3.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _spec_v3:
22

3-
Zarr storage specification version 3 (under development)
4-
========================================================
3+
Zarr Storage Specification Version 3
4+
=======================================================
55

6-
The v3 specification has been migrated to its own website,
6+
The V3 Specification has been migrated to its website
77
https://zarr-specs.readthedocs.io/.

zarr/tests/test_storage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,9 +1166,9 @@ def test_deep_ndim(self):
11661166
if self.version == 2:
11671167
assert set(store.listdir()) == {".zgroup", "bar"}
11681168
else:
1169-
assert set(store.listdir()) == set(["data", "meta", "zarr.json"])
1170-
assert set(store.listdir("meta/root/" + path)) == set(["bar", "bar.group.json"])
1171-
assert set(store.listdir("data/root/" + path)) == set(["bar"])
1169+
assert set(store.listdir()) == {"data", "meta", "zarr.json"}
1170+
assert set(store.listdir("meta/root/" + path)) == {"bar", "bar.group.json"}
1171+
assert set(store.listdir("data/root/" + path)) == {"bar"}
11721172
assert foo["bar"]["baz"][(0, 0, 0)] == 1
11731173

11741174
def test_not_fsspec(self):

0 commit comments

Comments
 (0)