netherframe.codec.autoid 0.5.0__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: netherframe.codec.autoid
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: Auto-ID codec and preprocessor for Netherframe
5
5
  Author: Sourabh Cheedella
6
6
  Author-email: Sourabh Cheedella <cheedella.sourabh@gmail.com>
@@ -353,16 +353,16 @@ def create_autoid_codec() -> codecs.CodecInfo:
353
353
  from codecs import utf_8_encode
354
354
 
355
355
  class AutoIdIncrementalDecoder(codecs.BufferedIncrementalDecoder):
356
- def _buffer_decode( # ty: ignore[invalid-method-override]
356
+ def _buffer_decode(
357
357
  self,
358
- input_data: Buffer,
358
+ input: Buffer, # noqa: A002 - match BufferedIncrementalDecoder's keyword parameter
359
359
  errors: str,
360
360
  final: bool,
361
361
  ) -> tuple[str, int]:
362
362
  if not final:
363
363
  return "", 0
364
364
  # Decode as UTF-8 first
365
- input_bytes = bytes(input_data)
365
+ input_bytes = bytes(input)
366
366
  data = input_bytes.decode("utf-8", errors)
367
367
  # Apply our preprocessing
368
368
  processed = preprocess_source(data)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "netherframe.codec.autoid"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  description = "Auto-ID codec and preprocessor for Netherframe"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.15"
@@ -22,7 +22,7 @@ Homepage = "https://netherframe.arsenal.sh"
22
22
  Repository = "https://github.com/arsenal-sh/netherframe"
23
23
 
24
24
  [build-system]
25
- requires = ["uv_build>=0.13.9,<0.14.0"]
25
+ requires = ["uv_build>=0.13.10,<0.14.0"]
26
26
  build-backend = "uv_build"
27
27
 
28
28
  [tool.uv]
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "netherframe.codec.autoid"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  description = "Auto-ID codec and preprocessor for Netherframe"
5
5
  authors = [
6
6
  {name = "Sourabh Cheedella", email = "cheedella.sourabh@gmail.com"},
@@ -23,7 +23,7 @@ Homepage = "https://netherframe.arsenal.sh"
23
23
  Repository = "https://github.com/arsenal-sh/netherframe"
24
24
 
25
25
  [build-system]
26
- requires = ["uv_build>=0.13.9,<0.14.0"]
26
+ requires = ["uv_build>=0.13.10,<0.14.0"]
27
27
  build-backend = "uv_build"
28
28
 
29
29
  [tool.uv]