1
0
Fork 0
qemu/tests/lcitool/libvirt-ci/containers/flake8
Daniel Baumann ea34ddeea6
Adding upstream version 1:10.0.2+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 14:27:05 +02:00
..
Dockerfile Adding upstream version 1:10.0.2+ds. 2025-06-22 14:27:05 +02:00
flake8.sh Adding upstream version 1:10.0.2+ds. 2025-06-22 14:27:05 +02:00
README.rst Adding upstream version 1:10.0.2+ds. 2025-06-22 14:27:05 +02:00

=============================================
Container for running flake8 code style check
=============================================

This container provides a simple way to invoke ``flake8`` to validate code
style across a Rust codebase. It should be integrated into CI by setting the
following flag in ``ci/manifest.yml``

::

   gitlab:
     jobs:
       flake8: true

or adding the following snippet to ``.gitlab-ci.yml``

::

   flake8:
     stage: sanity_checks
     image: registry.gitlab.com/libvirt/libvirt-ci/flake8:latest
     needs: []
     script:
       - /flake8
     artifacts:
       paths:
         - flake8.txt
       expire_in: 1 week
       when: on_failure