Re: [libgpiod][PATCH v2 00/23] bindings: python: conform to mypy and ruff linter recommendations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Thu, 14 Nov 2024 08:50:53 -0600, Vincent Fazio wrote:
> This patch series employs mypy [0] and ruff [1] to ensure the gpiod
> library has correctly typed public interfaces, is performing proper type
> checking internally, is consistently formatted in a standard code style
> that targets Python 3.9 syntax, and passes a subset of linting checks.
> 
> Patches 1 and 2 remove unused imports, sort and guard the remainder, and
> ensure the publicly usable classes are available from the gpiod module.
> 
> [...]

Applied, thanks!

[01/23] bindings: python: clean up imports and exports
        commit: 7fde8a47f5845b20ef4774416b28bf063848dc0e
[02/23] bindings: python: make internal a private submodule
        commit: b306ce694ab1acf75502ae1cedf8ab6d8d9e7647
[03/23] bindings: python: loosen type requirements in public API
        commit: 8f62e6c45355588621ca5916cfab6d1d8e787a77
[04/23] bindings: python: explicitly type gpiod.request_lines
        commit: f5c70ec993497d92e62e0660f12d2bd22deb4a7b
[05/23] bindings: python: add type stub for the _ext module
        commit: 30e23df2ef9ffcb8f488383bcfceb03e07c31db3
[06/23] bindings: python: add missing method type hints
        commit: 498ec6df34cd103a532e33fa1a7edf47339f88de
[07/23] bindings: python: add type hint for the sec variable in poll_fd
        commit: 2a2904082fd1bbbf5863dccd4184873c5826ae72
[08/23] bindings: python: add type hints for Chip's internal members
        commit: 1cc8bedab60e9c72c215076424dceba0ecba5ff4
[09/23] bindings: python: fix Chip union-attr type errors
        commit: 72e51c8a94f508c472c855331ba680bb1d0b95e2
[10/23] bindings: python: add type hints for LineRequest's internal members
        commit: 01efd10160bfcf09566992522aa70319241d3db7
[11/23] bindings: python: fix LineRequest union-attr type errors
        commit: fcb520f9fe5cc6e550646daee224c6e3d0c3bfb6
[12/23] bindings: python: convert lines to offsets in LineRequest
        commit: fcddb71b45e7bf7dde3eb0c6849acba7bc609462
[13/23] bindings: python: cast return value of LineRequest.get_values
        commit: f3444341f4964b47f8e72f4ef697fad535d9dcc6
[14/23] bindings: python: selectively use f-strings
        commit: 42308c2df11a6ec30661ba7d90a8afe368bb378b
[15/23] bindings: python: tests: fix duplicate test name
        commit: 0f40c01a09c2aec7319fedf82eb171a37663912b
[16/23] bindings: python: tests: clean up imports and exports
        commit: 171577eb41f916b77772346c6fe12defea626793
[17/23] bindings: python: tests: make EventType private to prevent export
        commit: 66c12b72ebf21170eff96f2f3f3a864b41237c65
[18/23] bindings: python: tests: add type stubs for external modules
        commit: 72f2eede085905d2f55d6a1aabddcebb21ca264c
[19/23] bindings: python: tests: add missing method type hints
        commit: d9313c18a06432ec10732b94885f915bdbc722bf
[20/23] bindings: python: tests: add type hints to internal members
        commit: f04f58ae1d548542134a31f48a1285b59a2915fc
[21/23] bindings: python: tests: ignore purposeful type errors
        commit: 632ea4df4b3ec9c3721623b150c5f6964447db54
[22/23] bindings: python: tests: selectively use f-strings
        commit: 3bb5368ba2a399b975ea552b2ea86cf5079739fa
[23/23] bindings: python: configure and document dev dependencies
        commit: 0505dc36435b6d87523f530192d6025fc94222f3

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux