Skip to content

Commit 3fb7126

Browse files
committed
lint
1 parent 15eb997 commit 3fb7126

23 files changed

+24
-27
lines changed

tests/test_codecs/test_astype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.filterwarnings("ignore::zarr.errors.ZarrUserWarning")
88
class TestAsTypeCodec(BaseTestCodec):
99
test_cls = _numcodecs.AsType
10-
valid_json_v2 = ({"id": "astype", "encode_dtype": "<f4", "decode_dtype": "<f4"},)
10+
valid_json_v2 = ({"id": "astype", "encode_dtype": "<f4", "decode_dtype": "<f4"},) # type: ignore[typeddict-unknown-key]
1111
valid_json_v3 = (
1212
{
1313
"name": "astype",

tests/test_codecs/test_bitround.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.filterwarnings("ignore::zarr.errors.ZarrUserWarning")
88
class TestBitRoundCodec(BaseTestCodec):
99
test_cls = _numcodecs.BitRound
10-
valid_json_v2 = ({"id": "bitround", "keepbits": 8},)
10+
valid_json_v2 = ({"id": "bitround", "keepbits": 8},) # type: ignore[typeddict-unknown-key]
1111
valid_json_v3 = (
1212
{
1313
"name": "bitround",

tests/test_codecs/test_blosc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class TestBloscCodec(BaseTestCodec):
2525
test_cls = BloscCodec
2626
valid_json_v2 = (
27-
{
27+
{ # type: ignore[typeddict-unknown-key]
2828
"id": "blosc",
2929
"cname": "lz4",
3030
"clevel": 5,

tests/test_codecs/test_blosc_numcodecs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.filterwarnings("ignore::zarr.errors.ZarrUserWarning")
88
class TestBloscNumcodecsCodec(BaseTestCodec):
99
test_cls = _numcodecs.Blosc
10-
valid_json_v2 = ({"id": "blosc", "clevel": 5, "shuffle": 1, "blocksize": 0, "cname": "lz4"},)
10+
valid_json_v2 = ({"id": "blosc", "clevel": 5, "shuffle": 1, "blocksize": 0, "cname": "lz4"},) # type: ignore[typeddict-unknown-key]
1111
valid_json_v3 = (
1212
{
1313
"name": "blosc",

tests/test_codecs/test_bytes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class TestBytesCodec(BaseTestCodec):
1919
test_cls = BytesCodec
2020
valid_json_v2 = (
21-
{
21+
{ # type: ignore[typeddict-unknown-key]
2222
"id": "bytes",
2323
"endian": "little",
2424
},

tests/test_codecs/test_bz2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.filterwarnings("ignore::zarr.errors.ZarrUserWarning")
88
class TestBZ2Codec(BaseTestCodec):
99
test_cls = _numcodecs.BZ2
10-
valid_json_v2 = ({"id": "bz2", "level": 1},)
10+
valid_json_v2 = ({"id": "bz2", "level": 1},) # type: ignore[typeddict-unknown-key]
1111
valid_json_v3 = (
1212
{
1313
"name": "bz2",

tests/test_codecs/test_delta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.filterwarnings("ignore::zarr.errors.ZarrUserWarning")
88
class TestDeltaCodec(BaseTestCodec):
99
test_cls = _numcodecs.Delta
10-
valid_json_v2 = ({"id": "delta", "dtype": "|u1", "astype": "|u1"},)
10+
valid_json_v2 = ({"id": "delta", "dtype": "|u1", "astype": "|u1"},) # type: ignore[typeddict-unknown-key]
1111
valid_json_v3 = (
1212
{
1313
"name": "delta",

tests/test_codecs/test_fixedscaleoffset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class TestFixedScaleOffsetCodec(BaseTestCodec):
99
test_cls = _numcodecs.FixedScaleOffset
1010
valid_json_v2 = (
11-
{"id": "fixedscaleoffset", "scale": 1.0, "offset": 0.0, "astype": "|u1", "dtype": "|u1"},
11+
{"id": "fixedscaleoffset", "scale": 1.0, "offset": 0.0, "astype": "|u1", "dtype": "|u1"}, # type: ignore[typeddict-unknown-key]
1212
)
1313
valid_json_v3 = (
1414
{

tests/test_codecs/test_gzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class TestGZipCodec(BaseTestCodec):
1212
test_cls = GzipCodec
1313
valid_json_v2 = (
14-
{
14+
{ # type: ignore[typeddict-unknown-key]
1515
"id": "gzip",
1616
"level": 1,
1717
},

tests/test_codecs/test_gzip_numcodecs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.filterwarnings("ignore::zarr.errors.ZarrUserWarning")
88
class TestGZipNumcodecsCodec(BaseTestCodec):
99
test_cls = _numcodecs.GZip
10-
valid_json_v2 = ({"id": "gzip", "level": 1},)
10+
valid_json_v2 = ({"id": "gzip", "level": 1},) # type: ignore[typeddict-unknown-key]
1111
valid_json_v3 = (
1212
{
1313
"name": "gzip",

0 commit comments

Comments
 (0)