jw-pkg/src/python/jw/pkg/cmds
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
..
pkg pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
platform pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
posix pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
projects pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
secrets pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
__init__.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
Cmd.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
CmdPkg.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
CmdPlatform.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
CmdPosix.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
CmdProjects.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
CmdSecrets.py pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
Makefile jw.build.cmds: Move build.cmds -> cmds.projects 2026-01-26 17:58:23 +01:00