All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH patatt 0/7] Harden local checks
@ 2026-04-20  1:22 Tamir Duberstein
  2026-04-20  1:22 ` [PATCH patatt 1/7] Add local CI script Tamir Duberstein
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Tamir Duberstein @ 2026-04-20  1:22 UTC (permalink / raw)
  To: Kernel.org Tools; +Cc: Konstantin Ryabitsev, Tamir Duberstein, 'test

This series adds a local CI helper and raises patatt's local quality
baseline incrementally while keeping the tree green after each step.

It starts with the checks that already pass, then adds Ruff import and
format enforcement, strict pyright, and ty. The later patches make the
small typing and cleanup changes needed for the stricter checkers, and
remove stale optional-dependency handling for PyNaCl.

Signed-off-by: Tamir Duberstein <tamird@kernel.org>
---
Tamir Duberstein (7):
      Add local CI script
      Add Ruff import checks
      Add Ruff format check
      Add pyright strict checks
      Add ty checks
      Reduce dictionary lookups
      Import PyNaCl unconditionally

 ci.sh                               |  10 +
 conftest.py                         |   3 +-
 docs/conf.py                        |   5 +-
 pyproject.toml                      |  18 +-
 src/patatt/__init__.py              | 480 ++++++++++++++++++++++++------------
 tests/conftest.py                   |  21 +-
 tests/test_validation.py            |  25 +-
 tests/unit/test_byhash.py           |   4 +-
 tests/unit/test_devsig_header.py    |  26 +-
 tests/unit/test_get_algo_keydata.py |  22 +-
 tests/unit/test_patatt_message.py   |  27 +-
 11 files changed, 410 insertions(+), 231 deletions(-)
---
base-commit: f09b5a5681c2b7af33aa5b0fcea659f4534eed9b
change-id: 20260419-stronger-type-checking-3702559acba9

Best regards,
--  
Tamir Duberstein <tamird@kernel.org>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-04-27 20:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-20  1:22 [PATCH patatt 0/7] Harden local checks Tamir Duberstein
2026-04-20  1:22 ` [PATCH patatt 1/7] Add local CI script Tamir Duberstein
2026-04-20  1:22 ` [PATCH patatt 2/7] Add Ruff import checks Tamir Duberstein
2026-04-20  1:22 ` [PATCH patatt 3/7] Add Ruff format check Tamir Duberstein
2026-04-20  1:22 ` [PATCH patatt 4/7] Add pyright strict checks Tamir Duberstein
2026-04-20  1:22 ` [PATCH patatt 5/7] Add ty checks Tamir Duberstein
2026-04-20  1:22 ` [PATCH patatt 6/7] Reduce dictionary lookups Tamir Duberstein
2026-04-20  1:22 ` [PATCH patatt 7/7] Import PyNaCl unconditionally Tamir Duberstein
2026-04-27 20:20 ` [PATCH patatt 0/7] Harden local checks Tamir Duberstein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.