Skip to content

Commit df0eb7c

Browse files
committed
fix: resolve import order and strip build/package from pyproject.toml
1 parent 7a5c190 commit df0eb7c

3 files changed

Lines changed: 7 additions & 12 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@
22
name = "tiff-predictor-2-python"
33
description = "TIFF Predictor=2 codec in Python, compiled to WebAssembly via componentize-py"
44
readme = "README.md"
5+
version = "0.1.0"
56
requires-python = "==3.13.*"
6-
dynamic = ["version"]
77
dependencies = []
88

9-
[build-system]
10-
requires = ["hatchling", "hatch-vcs"]
11-
build-backend = "hatchling.build"
12-
13-
[tool.hatch.version]
14-
source = "vcs"
15-
16-
[tool.hatch.build.targets.wheel]
17-
packages = ["src"]
9+
[tool.ruff.lint.isort]
10+
known-third-party = ["componentize_py_types"]
1811

1912
[tool.ruff.lint]
2013
# https://docs.astral.sh/ruff/rules/

src/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
in tiff_predictor_2.py.
55
"""
66

7-
import tiff_predictor_2
87
from componentize_py_types import Err
98

9+
import tiff_predictor_2
10+
1011

1112
class Codec:
1213
def encode(self, data: bytes, config: str) -> bytes:

uv.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)