Two CI fixes: - Test job: Add `--no-root` to `poetry install`. Poetry 2.x tries to install the current project as a package, which fails because this is a Django app with no `packages` config. `--no-root` installs only dependencies, which is what CI needs. - Lint job: Add `F405` to ruff's ignore list. Django settings files use `from .base import *` by convention, which triggers false positives for every symbol defined in the parent module. Ignoring F405 is the standard approach for Django projects. Also fixed all 11 remaining `lint` errors: - Removed unused imports (logging, django, AuthError, conf, ValidationError) - Removed unused variable assignments (`user`, `msg`, `ex`) - Replaced `== True` comparison with truthy check Assisted-by: Claude Opus 4.6 (1M context) Signed-off-by: Justin Wheeler <jwheel@fedoraproject.org> |
||
|---|---|---|
| .. | ||
| happinesspacket_schema | ||
| LICENSE | ||
| MANIFEST.in | ||
| README | ||
| setup.cfg | ||
| setup.py | ||
A schema package for Fedora Happiness Packets