jw-pkg/src/python/jw/pkg/lib/ec
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 5d1ba6e15a
pyproject.toml: Enforce import annotations style
Add new ruff rules and fix their fallout:

  future-annotations = true

   select = [
    "TC",  # type-checking import placement rules
    "FA",  # future annotations rules
   ]

This comprises:

  - Streamline imports and exports in cmds.xxx.Cmd

    - Import base class as "Base"

    - Export types Cmd and Parent via __all__

  - Move all types imported only for annotation below TYPE_CHECKING

  - Use "from __future__ import annotations" all over the place

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-01 14:34:25 +02:00
..
ssh pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
Curl.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
Local.py cmds / lib: Fix more static checker findings 2026-06-01 07:55:11 +02:00
Makefile lib.Distro, ExecContext: Add classes, refactor lib.distro 2026-03-06 14:56:46 +01:00
SSHClient.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00