2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
36d854ce19 |
|||
|
22b09dd9aa |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
36d854ce19 |
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> |
|||
|
22b09dd9aa |
py-topdir.mk: Add file
Add a file to be included from every toplevel Makefile of every repo that owns Python code. It defines the following targets: py-check: py-check-syntax py-check-format py-check-syntax: py-check-format: py-format: Currently, only mypy is run from py-check-syntax, but the targets are meant as entry point for further linter jobs in the future. There's also py-format-assignments: which is meant to add spaces around "=" in multi-line assignment blocks, but, pending future experiments, I thing that target is going to be removed again. Left in for now. Signed-off-by: Jan Lindemann <jan@janware.com> |