Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218319/?format=api
{ "id": 2218319, "url": "http://patchwork.ozlabs.org/api/patches/2218319/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260401001459.19159-9-vfazio@gmail.com/", "project": { "id": 42, "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api", "name": "Linux GPIO development", "link_name": "linux-gpio", "list_id": "linux-gpio.vger.kernel.org", "list_email": "linux-gpio@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260401001459.19159-9-vfazio@gmail.com>", "list_archive_url": null, "date": "2026-04-01T00:14:58", "name": "[libgpiod,9/9] bindings: python: update linter configuration", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "cf277312e00c2175e0379c5d1ad765dabd33689b", "submitter": { "id": 78694, "url": "http://patchwork.ozlabs.org/api/people/78694/?format=api", "name": "Vincent Fazio", "email": "vfazio@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260401001459.19159-9-vfazio@gmail.com/mbox/", "series": [ { "id": 498263, "url": "http://patchwork.ozlabs.org/api/series/498263/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=498263", "date": "2026-04-01T00:14:50", "name": "[libgpiod,1/9] bindings: python: build_tests: do not fallback to distutils", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498263/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218319/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218319/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-gpio+bounces-34518-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-gpio@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Szy1C4Jn;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34518-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"Szy1C4Jn\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.45", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fllyj0BH0z1yGw\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 11:21:17 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id B7A0930977F1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 1 Apr 2026 00:18:13 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 9637154774;\n\tWed, 1 Apr 2026 00:18:13 +0000 (UTC)", "from mail-ot1-f45.google.com (mail-ot1-f45.google.com\n [209.85.210.45])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 269C618FC97\n\tfor <linux-gpio@vger.kernel.org>; Wed, 1 Apr 2026 00:18:12 +0000 (UTC)", "by mail-ot1-f45.google.com with SMTP id\n 46e09a7af769-7d556c1a79eso6481571a34.3\n for <linux-gpio@vger.kernel.org>;\n Tue, 31 Mar 2026 17:18:12 -0700 (PDT)", "from Zephyrus.localdomain ([131.93.209.211])\n by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7da0a7ea668sm9173679a34.19.2026.03.31.17.18.10\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 31 Mar 2026 17:18:10 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775002693; cv=none;\n b=kD9kF0ANWTJ5iQJqcmZ8WSe6pgzg9zrw55bmsdFuspljxYYOYhxCGhv8QVENpYvljcvwHSJxc+c8+dkVu1aJ3Td/oNzYwYYqzhyWYTXJphwCI9t9QJ7gFescEVcxMwQe75O0LDprk7Ml8Tfi/5WH1szbXvmKVNZdaYZycA2Ovxc=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775002693; c=relaxed/simple;\n\tbh=KFkUW2cVImUyjlhprHCT59klFvET8NGPVtBRHk4nfJA=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=s3oklhKcCNczmCxQRhm47E6NIF4qkTbgnPayQmYKlwOiAm96FOhgreOjq2DnqeprtgN2zWmsSNvFPfHbMTxTeMuOu5d4gFtS4rPIDHPeFrT+0joFHRO7JLDysUWjHisEyPMjUwR8SD+7yZiH70qdZvH5TKhGwvRT7PX7IymumA8=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=Szy1C4Jn; arc=none smtp.client-ip=209.85.210.45", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775002691; x=1775607491;\n darn=vger.kernel.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=PPaw7EwmFwAnIEhnxkQHAn8cwP5u+/k4cBjxFTufoac=;\n b=Szy1C4JnWM+DgWLxLb8Ji5KyoV5pq7oIJmaBuSmJSydboQH1u71ZP+ouTRPCX7YoMP\n DpYeyvnPL8bDpChngoCtUTQ819+k9Byq/fL/T4C4gkJDm6OUl8hGh98NGnbMimru0/Kl\n Y1Ue8CJSLOloqvG3+KJkG0XGwyMx6rwRAe+OPSRduQTG9SMsNUc6IVlJNK4SCdMOk5iO\n R+OefymzJ9Yswb88KUIF7E5xqZCNMEE8KEYlfduraUu4dccth01JRilgmjVYwbToS2bl\n QB+fEcVGKkoS8q8o2xYvYeT6OwowMzOQiJJYm2VscrkG6D7JFvX75WbmxrPE+sGCt58Y\n SY0Q==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775002691; x=1775607491;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=PPaw7EwmFwAnIEhnxkQHAn8cwP5u+/k4cBjxFTufoac=;\n b=XCdZAAPTz42/mlnjUiIVJV84wTBK/EsJNVnQCEfoQ4qWFwhoD2UAJJIOk37A6+T7Ky\n DBsLu2BqAUaALWZlFqpLVGEifFyYAfzIAN/q8fPP9P1tkoORMX0hyd4Xz3mWS80gcpTW\n kdFx5lghfZrihlbWDxL+r8471ZDV3X3UlRF8mjbzgsBM984V3ut/Jk3fs1ylCz5+SN6y\n vzctAbyf971LQcAFub3A3tfMiUFVJYtiwmkVKFicVM5syI+7Rum2mnqTLvMQVStdFQwV\n 8kdXaIgSF8wObEbKHRLo4zK8o7Mnj41ymTP6FHm/PC1GzDlzdHablrJgZ3uDNnQQ2/Mp\n LT2w==", "X-Gm-Message-State": "AOJu0YyFP4HCHBPFiuF0jlfUrVI568kg0xbs18LgBPH+bpYdIcyKWw7P\n\tu8n445O1Xd6awIl6O6sPDgNktAiergE/HlucJGupnCx9k/vHa89E0lyh2LugzQ==", "X-Gm-Gg": "ATEYQzzce6Ryquz/83l/lZ1K1fNyM5qc/cQxGUt/DTlonNNikYBvX05VZpDpUmochN6\n\tsDPcloILqBPqCSVKtnHDMWWqkfyB4swj+kW2p661/0TiYJ1twn5pXMYnCLq0anHXCCBR/HLjwCv\n\tc+OrJ6RgEzdf4vkn1KD40YDGJ5pRvgqJkd6aemKwMtFoF5T3+dqlANQsDI2kwRPrFBCQTISV0eB\n\tt+PGJJdC1+l6wSZLHuXJ1GTbg3U5qHVnXuJzTxgCXVMcyFk1BeGsD7WycF4MBl6wMhljOoUsXw0\n\tYsJXgpwPIVxT2y14CrL81PfKwIQ1ZUdAYKqfXwN4RKt2Y9Pg9WmY7CJUWEFy3UnAt6uvKZ6h0yL\n\tBWwqSCTPbtkWvjus3eK4ruZaktWm0/Wh/PvjGcc+1NyyM40UZLA9KSY4c7g72fDJgTyFzyD9Ju/\n\t+vd/Evuvi/fX6teGXN/2x1ammNAKJ7TstfF8tYPmVwv0Jxbxtobe79bTYI3wFNKQ==", "X-Received": "by 2002:a05:6830:3747:b0:7d7:ccc7:c546 with SMTP id\n 46e09a7af769-7db993af487mr1020001a34.23.1775002690917;\n Tue, 31 Mar 2026 17:18:10 -0700 (PDT)", "From": "Vincent Fazio <vfazio@gmail.com>", "To": "linux-gpio@vger.kernel.org", "Cc": "Vincent Fazio <vfazio@gmail.com>", "Subject": "[libgpiod][PATCH 9/9] bindings: python: update linter configuration", "Date": "Tue, 31 Mar 2026 19:14:58 -0500", "Message-ID": "<20260401001459.19159-9-vfazio@gmail.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260401001459.19159-1-vfazio@gmail.com>", "References": "<20260401001459.19159-1-vfazio@gmail.com>", "Precedence": "bulk", "X-Mailing-List": "linux-gpio@vger.kernel.org", "List-Id": "<linux-gpio.vger.kernel.org>", "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "Simplify linter configuration to check all files in the bindings\ndirectory while excluding files in .gitignore.\n\nWith a minimum mypy version of 1.18.1, the `strict_equality` knob can\nbe removed as it was a work around a known issue [0] that is now fixed.\n\nWith a minimum ruff version of 15.x, rename the TCH check to TC since\nit was renamed in v0.8.0 [1].\n\n[0]: https://github.com/python/mypy/issues/10910\n[1]: https://github.com/astral-sh/ruff/releases/tag/0.8.0\nSigned-off-by: Vincent Fazio <vfazio@gmail.com>\n---\n bindings/python/pyproject.toml | 19 +++----------------\n 1 file changed, 3 insertions(+), 16 deletions(-)", "diff": "diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml\nindex 3255e89..98bb44c 100644\n--- a/bindings/python/pyproject.toml\n+++ b/bindings/python/pyproject.toml\n@@ -49,26 +49,13 @@ namespaces = false\n \n [tool.mypy]\n python_version = \"3.10\"\n+exclude_gitignore = true\n files = [\n- \"gpiod/\",\n- \"tests/\",\n-]\n-\n-[[tool.mypy.overrides]]\n-module = \"gpiod.line.*\"\n-strict_equality = false # Ignore Enum comparison-overlap: https://github.com/python/mypy/issues/17317\n-\n-[tool.ruff]\n-target-version = \"py310\"\n-include = [\n- \"gpiod/**/*.py\",\n- \"gpiod/**/*.pyi\",\n- \"tests/**/*.py\",\n- \"tests/**/*.pyi\",\n+ \".\",\n ]\n \n [tool.ruff.lint]\n-select = [\"B\", \"E\", \"F\", \"I\", \"TCH\", \"UP\"]\n+select = [\"B\", \"E\", \"F\", \"I\", \"TC\", \"UP\"]\n ignore=[\n # Ignore chained exception warnings for now: https://docs.astral.sh/ruff/rules/raise-without-from-inside-except/\n \"B904\",\n", "prefixes": [ "libgpiod", "9/9" ] }