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
|
|
@ -128,6 +128,7 @@ cat_gitignore()
|
|||
*tmp*
|
||||
__init__.py
|
||||
__pycache__
|
||||
pyproject.toml
|
||||
EOT
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue