Fix what ruff 0.17.5's default rule set and the complexity rules report (#112): removeprefix/removesuffix instead of slicing, `_unused` for discarded tuple members, obsolete `noqa: E402` removed, a parenthesised string pair and an immutable class constant in the tests. Three functions stay over a complexity threshold and carry an inline `# noqa` with the rule code and a reason: matrix_of and copy_sources of check_image_versions.py (#96 may replace them) and path_problems of check_tarball.py. No rule is ignored globally and no threshold is tuned. ruff writes .ruff_cache/ into the checkout, which test_real_build_passes caught in the Collection archive: add it to galaxy.yml build_ignore. ruff.toml joins the molecule selector's IGNORED paths, since no scenario reads it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
---
|
|
namespace: mortis
|
|
name: kamino
|
|
version: 1.3.0
|
|
readme: README.md
|
|
authors:
|
|
- Defame1297
|
|
description: Reusable, hardened Ansible roles for a self-hosted home lab (Linux baseline, firewall, SSH, Proxmox and Gitea runners).
|
|
license:
|
|
- GPL-3.0-or-later
|
|
tags:
|
|
- infrastructure
|
|
- linux
|
|
- security
|
|
- hardening
|
|
repository: https://git.rkdr.net/mortis/kamino
|
|
documentation: https://git.rkdr.net/mortis/kamino/src/branch/main/README.md
|
|
homepage: https://git.rkdr.net/mortis/kamino
|
|
issues: https://git.rkdr.net/mortis/kamino/issues
|
|
# Lower bounds are the versions CI tests against; no upper bound, so a consumer's
|
|
# newer pin does not conflict. Used by system_baseline.
|
|
dependencies:
|
|
community.general: ">=14.0.0"
|
|
ansible.posix: ">=2.2.0"
|
|
build_ignore:
|
|
# Repository tooling that is not part of the Collection. scripts/check_tarball.py fails
|
|
# the build if anything outside its allowlist ends up in the archive, so a new top-level
|
|
# file is a decision: ignore it here or allow it there.
|
|
- .ansible
|
|
- apm.yml
|
|
- apm.lock.yaml
|
|
- apm_modules
|
|
- .claude
|
|
- .gitea
|
|
- .gitignore
|
|
- .pre-commit-config.yaml
|
|
- .reuse
|
|
- .ruff_cache
|
|
- .venv
|
|
- .yamllint
|
|
- docs
|
|
- .ansible-lint
|
|
- CLAUDE.md
|
|
- CONTRIBUTING.md
|
|
- GLOSSARY.md
|
|
- SECURITY.md
|
|
- HANDOFF.md
|
|
- extensions
|
|
- images
|
|
- scripts
|
|
- tests/scripts
|
|
- renovate.json
|
|
- ruff.toml
|
|
- requirements-dev.txt
|
|
- gitleaks-report.json
|
|
- importer_result.json
|
|
- 'roles/*/molecule'
|
|
- '*.tar.gz'
|