python3-autoflake: upgrade 2.2.1 -> 2.3.1

Changelog:
===========
- Update pre-commit config
- github/workflows/main: use pre-commit/action
- Always set encoding when reading setup.cfg

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2024-06-12 10:57:35 +08:00
committed by Khem Raj
parent 6fa4449ace
commit 90c606e249
@@ -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] = "c98b75dc5b0a86459c4f01a1d32ac7eb4338ec4317a4469515ff1e687ecd909e"
inherit pypi python_hatchling
RDEPENDS:${PN} += "python3-pyflakes"
BBCLASSEXTEND = "native nativesdk"