autoflake is a python library which removes unused imports and unused
variables from Python code. This recipe uses pypi as source:

        https://pypi.org/project/autoflake/

Signed-off-by: Richard Leitner <d...@g0hl1n.net>
---
 .../python/python3-autoflake_2.2.1.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-autoflake_2.2.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-autoflake_2.2.1.bb 
b/meta-python/recipes-devtools/python/python3-autoflake_2.2.1.bb
new file mode 100644
index 000000000..7b7430866
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-autoflake_2.2.1.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Removes unused imports and unused variables"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=88246be6a34c1496c253f58599f3db85"
+
+SRC_URI[sha256sum] = 
"62b7b6449a692c3c9b0c916919bbc21648da7281e8506bcf8d3f8280e431ebc1"
+
+inherit pypi python_hatchling
+
+RDEPENDS:${PN} += "python3-pyflakes"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#105038): 
https://lists.openembedded.org/g/openembedded-devel/message/105038
Mute This Topic: https://lists.openembedded.org/mt/101495445/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to