fedora-happiness-packets/happinesspacket_schema_package
Justin Wheeler 28706cd176
Some checks failed
CI / lint (pull_request) Successful in 14s
CI / test (pull_request) Failing after 1m20s
CI / lint (push) Successful in 14s
CI / test (push) Failing after 1m21s
💚 ci: Fix lint and test job failures
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>
2026-05-10 16:58:30 +02:00
..
happinesspacket_schema 💚 ci: Fix lint and test job failures 2026-05-10 16:58:30 +02:00
LICENSE Integrate fedora-messaging 2019-03-12 14:42:12 +00:00
MANIFEST.in Upgrade happinesspacket_schema to 1.0.0 and add MANIFEST.in 2019-06-26 17:43:39 +05:30
README Integrate fedora-messaging 2019-03-12 14:42:12 +00:00
setup.cfg Integrate fedora-messaging 2019-03-12 14:42:12 +00:00
setup.py Upgrade happinesspacket_schema to 1.0.0 and add MANIFEST.in 2019-06-26 17:43:39 +05:30

A schema package for Fedora Happiness Packets