Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/01_simple.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/01-simple` to PyreWire.

Inline EDB facts + a single recursive rule. Uses
Expand Down
1 change: 1 addition & 0 deletions examples/02_reachability.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/02-graph-reachability` to PyreWire.

Transitive closure over a directed graph encoded as inline `edge`
Expand Down
1 change: 1 addition & 0 deletions examples/03_bitwise.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/03-bitwise-operations` to PyreWire.

Demonstrates wirelog's built-in bitwise functors: `band` / `bor` /
Expand Down
1 change: 1 addition & 0 deletions examples/04_hash_functions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/04-hash-functions` to PyreWire.

Demonstrates wirelog's built-in `hash()` functor for the three tasks
Expand Down
1 change: 1 addition & 0 deletions examples/05_crc32_checksum.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/05-crc32-checksum` to PyreWire.

Demonstrates wirelog's `crc32_ethernet()` built-in by validating frame
Expand Down
1 change: 1 addition & 0 deletions examples/06_timestamp_lww.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/06-timestamp-lww` to PyreWire.

Last-Writer-Wins via the `max()` aggregate: for each key, keep the
Expand Down
1 change: 1 addition & 0 deletions examples/07_multi_source_analysis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/07-multi-source-analysis` to PyreWire.

Two CRM sources (`src_a`, `src_b`) supply customer records. The
Expand Down
1 change: 1 addition & 0 deletions examples/08_delta_queries.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/08-delta-queries` to PyreWire.

Demonstrates wirelog's delta-callback pipeline through `EasySession.step`.
Expand Down
1 change: 1 addition & 0 deletions examples/10_recursive_under_update.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/10-recursive-under-update` to PyreWire.

Demonstrates that wirelog correctly maintains a RECURSIVE rule under
Expand Down
1 change: 1 addition & 0 deletions examples/11_time_evolution.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/11-time-evolution` to PyreWire.

Each `EasySession.step()` is a discrete time epoch — the delta
Expand Down
1 change: 1 addition & 0 deletions examples/12_batch_vs_session.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""PyreWire-flavoured port of the spirit of wirelog
`examples/12-snapshot-vs-delta`.

Expand Down
1 change: 1 addition & 0 deletions examples/12_snapshot_vs_delta.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/12-snapshot-vs-delta` to PyreWire.

Compares the two read paths exposed by `EasySession`:
Expand Down
1 change: 1 addition & 0 deletions examples/csv_adapter_reachability.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Self-contained `.input` example backed by a Python IO adapter.

The upstream wirelog examples often load EDB relations from CSV files.
Expand Down
1 change: 1 addition & 0 deletions examples/retraction_basics.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Port of wirelog `examples/09-retraction-basics` to PyreWire.

Demonstrates z-set retraction semantics through `EasySession.step`:
Expand Down
1 change: 1 addition & 0 deletions scripts/bundle_libwirelog.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Copy the built wirelog library into `src/pyrewire/_lib` before wheel build."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/check_dynamic_link.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Verify every PyreWire wheel ships libwirelog *dynamically* (#32).

Run after the wheel build matrix from #30; takes wheel paths on the
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/extract_changelog_section.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Extract one released changelog section into a standalone notes file."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Build shim that forces a platform-specific wheel."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""PyreWire - Python wrapper for wirelog declarative dataflow analysis."""

__version__ = "1.0.1"
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Internal helpers shared across PyreWire's high-level wrappers.

Like `pyrewire._ffi`, this package is private. Public symbols are
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_core/_libc.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Lazy, platform-aware libc `malloc`/`free` helper.

Several FFI consumers (parser fact extraction, IR string accessor, IO
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_core/callbacks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Process-wide registry of callback trampolines.

wirelog invokes user callbacks from its own worker threads. Two
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_core/errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Typed exception hierarchy for wirelog error codes.

Every wirelog C entry point that can fail returns `wirelog_error_t`
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_core/intern.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Bidirectional `str` ↔ wirelog intern-id cache.

wirelog represents every `STRING` column value as an `int64` id assigned
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_core/stdcapture.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Capture C-level stdout (file descriptor 1) into a Python `BytesIO`.

Several wirelog entry points (`wirelog_optimizer_debug`,
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Internal FFI layer for PyreWire.

This package is private to PyreWire (note the leading underscore). User code
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_advanced.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Raw ctypes bindings for the wirelog advanced session API (#20).

Covers 8 entry points from `wirelog/wirelog-advanced.h`:
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_easy.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Raw ctypes bindings for `wirelog_easy_*` (the easy facade).

This module mirrors `wirelog/wirelog-easy.h` 1:1 — every function's
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_enums.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Enums mirroring wirelog public C enums.

Values match `wirelog/wirelog.h` and `wirelog/wirelog-types.h` byte-for-byte.
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_executor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Raw ctypes bindings for wirelog's batch-executor surface (#16).

Covers:
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_io.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Raw ctypes bindings for wirelog's IO-adapter ABI (#26).

Covers:
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_ir.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Raw ctypes bindings for wirelog's IR-inspection entry points.

Six functions from `wirelog/wirelog-ir.h`:
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_loader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""libwirelog discovery, loading, and runtime version verification.

PyreWire and wirelog version independently. PyreWire declares the oldest
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_parser.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Raw ctypes bindings for wirelog's parser, program introspection, and
optimizer / fact-loading entry points.

Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_types.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""ctypes structures and callback function-pointer types mirroring
wirelog's public C ABI.

Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_ffi/_util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Wrappers for wirelog utility entry points (version, error_string,
config probes, enum-to-string converters).

Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Wheel-bundled shared libraries live in this package."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/asyncio_session.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Asyncio-friendly proxies around the synchronous wirelog session APIs (#29).

wirelog sessions are not thread-safe; running every call from one
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/batch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""High-level batch pipeline: Program → optimize → evaluate → Result (#17 / #18).

`BatchProgram` is the simplest way to compute the full IDB closure of a
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/compound.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Session-local compound handles (#23).

`wirelog_session_make_compound` and `wirelog_easy_make_compound` return
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/helpers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""User-facing helpers that mirror or replace unsafe wirelog C utilities.

This module is **process-safe**: every helper degrades gracefully on
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/io_adapter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""`@register_adapter` decorator for wirelog IO adapters (#27).

Lets Python classes serve as the source for `.input Rel(IO="scheme", …)`
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/ir.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Lazy Python wrapper around a `wirelog_ir_node_t *` (#25).

`IRNode` does not own the C pointer — the IR tree lives inside the
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/program.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""High-level wrapper around a parsed wirelog program.

`Program` owns a `wirelog_program_t*` and exposes typed introspection:
Expand Down
1 change: 1 addition & 0 deletions src/pyrewire/session.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""High-level session wrappers over wirelog's facade APIs.

`EasySession` (#9) wraps `wirelog_easy_*`. `Session` (#21) wraps the
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for PyreWire."""
1 change: 1 addition & 0 deletions tests/docs/test_api_stability_contract.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression coverage for the documented v1.0 public API policy."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/docs/test_doc_examples_executable.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression: every Python code block in `README.md` and
`docs/quickstart.md` must run cleanly (#122).

Expand Down
1 change: 1 addition & 0 deletions tests/docs/test_mkdocs_build.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression: `mkdocs build --strict` must succeed (#34).

Strict mode fails on stale cross-references caused by renamed or
Expand Down
1 change: 1 addition & 0 deletions tests/docs/test_release_candidate_checklist.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression coverage for the v1.0.0 release candidate checklist."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/docs/test_semantics_executable.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression: every Python code block in `docs/semantics/*.md` must run.

Pages annotated with `# expected: <exception>` are allowed to raise
Expand Down
1 change: 1 addition & 0 deletions tests/docs/test_support_matrix.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression coverage for the documented v1.0 support matrix."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/docs/test_versioning_contract.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression coverage for the documented PyreWire/wirelog compatibility contract."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/integration/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
1 change: 1 addition & 0 deletions tests/integration/test_examples.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Run every ported example and assert the result is well-formed (#35).

We don't pin specific row contents because some examples include
Expand Down
1 change: 1 addition & 0 deletions tests/integration/test_retraction_basics.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Integration test mirroring wirelog `examples/09-retraction-basics` (#12).

Drives `EasySession.step()` through the three retraction phases:
Expand Down
1 change: 1 addition & 0 deletions tests/integration/test_wheel_install.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Integration test against an installed PyreWire wheel (#33).

Runs in the `install_test` job of `.github/workflows/wheels.yml`
Expand Down
1 change: 1 addition & 0 deletions tests/test_abi_smoke.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""ABI smoke test: every public wirelog symbol must resolve at runtime.

The canonical manifest lives at `tests/data/wirelog_abi.txt`. When wirelog
Expand Down
1 change: 1 addition & 0 deletions tests/test_advanced_ffi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire._ffi._advanced` (#20)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_async.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire.asyncio_session` (#29)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_batch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire.batch.BatchProgram` and `Result` (#17 + #18)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_batch_loadfacts.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `BatchProgram.load_all_facts` / `load_input_files` /
`optimizer_debug` (#19)."""

Expand Down
1 change: 1 addition & 0 deletions tests/test_callbacks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire._core.callbacks`."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_changelog_format.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression: `CHANGELOG.md` must stay in sync with the project version (#37).

A release is "ready" when the topmost dated section in `CHANGELOG.md`
Expand Down
1 change: 1 addition & 0 deletions tests/test_check_dynamic_link.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `scripts/ci/check_dynamic_link.py` (#32)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_ci_workflow.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression coverage for the main CI workflow."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_compound.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire.compound` (#23)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_dependabot_config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression coverage for Dependabot configuration in this repository."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_easy_deltas.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Additional EasySession delta tests (originally from PR #71).

PR #97 shipped `EasySession.step / snapshot / set_delta_callback` on a
Expand Down
1 change: 1 addition & 0 deletions tests/test_easy_ffi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Smoke tests for `pyrewire._ffi._easy` bindings.

Verifies that the easy facade's 14 entry points are reachable and that
Expand Down
1 change: 1 addition & 0 deletions tests/test_easy_insert_sym.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `EasySession.insert_sym` / `remove_sym` (#44)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_easy_session.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `EasySession` lifecycle, intern, insert, remove (#9)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_easy_step_monkeypatched.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Monkey-patched tests for `EasySession.step` / `snapshot` /
`set_delta_callback` (#10 + #11).

Expand Down
1 change: 1 addition & 0 deletions tests/test_easy_step_snapshot.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `EasySession.step` / `set_delta_callback` / `snapshot` (#10 + #11).

The delta-mode machinery requires the wirelog#852 recursive-aggregation
Expand Down
1 change: 1 addition & 0 deletions tests/test_errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire._core.errors`."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_executor_ffi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire._ffi._executor` bindings (#16)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_extract_changelog_section.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
from __future__ import annotations

import importlib.util
Expand Down
1 change: 1 addition & 0 deletions tests/test_ffi_types.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire._ffi._enums` and `pyrewire._ffi._types`.

Per project convention, tests should consume the public API only. These
Expand Down
1 change: 1 addition & 0 deletions tests/test_helpers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Tests for `pyrewire.helpers` (#46)."""

from __future__ import annotations
Expand Down
1 change: 1 addition & 0 deletions tests/test_install_test_workflow.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
"""Regression: the `install_test` job in wheels.yml stays wired (#33)."""

from __future__ import annotations
Expand Down
Loading