py-topdir.mk: Use ruff and yapf
- Use ruff and yapf for the targets py-check-syntax, py-format and py-check-format.- Add a pyproject.toml for those. It also includes configuration for isort, albeit not being directly used in the linter targets.- Make .gitignore igore that in newly created projects.
- Add ruff, yapf and isort to pkg.requires.release, anticipating their use by CI.Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
d933c59ada
commit
36d854ce19
4 changed files with 81 additions and 1 deletions
|
|
@ -21,6 +21,7 @@ devel = jw-pkg-run = VERSION-REVISION
|
|||
run = bash, python3
|
||||
build = make, time, xdg-utils, coreutils, cpio, xdg-utils, git-core
|
||||
devel = sudo, gawk, pkg-config
|
||||
release = python3-isort, python3-yapf, python3-ruff
|
||||
|
||||
[pkg.requires.centos]
|
||||
run = hostname, python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue