debian-forge/stages
Simon de Vlieger d60690ce46 tox: add tox
`tox` is a standard testing tool for Python projects, this allows you to
test locally with all your installed Python version with the following
command:

`tox -m test -p all`

To run the tests in parallel for all supported Python versions.

To run linters or type analysis:

```
tox -m lint -p all
tox -m type -p all
```

This commit *also* disables the `import-error` warning from `pylint`,
not all Python versions have the system-installed Python libraries
available and they can't be fetched from PyPI.

Some linters have been added and the general order linters run in has
been changed. This allows for quicker test failure when running
`tox -m lint`. As a consequence the `test_pylint` test has been removed
as it's role can now be fulfilled by `tox`.

Other assorted linter fixes due to newer versions:
- use a str.join method (`consider-using-join`)
- fix various (newer) mypy and pylint issues
- comments starting with `#` and no space due to `autopep8`

This also changes our CI to use the new `tox` setup and on top of that
pins the versions of linters used. This might move into separate
requirements.txt files later on to allow for easier updating of those
dependencies.
2023-08-01 15:01:13 +02:00
..
org.osbuild.anaconda stage: anaconda, allow access to more config 2023-07-18 13:41:05 +02:00
org.osbuild.authconfig osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.authselect osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.bootiso.mono osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.buildstamp osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.chmod stages/chmod: SCHEMA_2 2021-07-01 10:49:38 +02:00
org.osbuild.chown Add org.osbuild.chown stage 2023-02-07 12:14:01 +01:00
org.osbuild.chrony osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.clevis.luks-bind osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.cloud-init osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.containers.storage.conf stages/containers.storage: ability to specify a base file 2022-11-15 11:34:15 +01:00
org.osbuild.copy stages/copy: add option to remove destination before copying 2023-02-20 10:31:06 +01:00
org.osbuild.cpio.out stages: add new cpio.out stage 2022-11-03 17:26:43 +01:00
org.osbuild.cron.script osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.crypttab osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.debug-shell osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.discinfo osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.dnf-automatic.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.dnf.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.dracut tox: add tox 2023-08-01 15:01:13 +02:00
org.osbuild.dracut.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.error osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.fdo osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.firewall stages/firewall: change zones/sources handling 2022-10-26 12:07:21 +02:00
org.osbuild.first-boot tox: add tox 2023-08-01 15:01:13 +02:00
org.osbuild.fix-bls osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.fstab osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.gcp.guest-agent.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.greenboot stages/greenboot: avoid new pylint suppressions 2022-09-14 12:26:37 +02:00
org.osbuild.groups osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.grub2 tox: add tox 2023-08-01 15:01:13 +02:00
org.osbuild.grub2.inst osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.grub2.iso grub2.iso: add timeout option 2022-11-11 17:22:14 +01:00
org.osbuild.grub2.legacy osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.gunzip osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.gzip osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.hostname osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ignition stages/ignition: support multi kargs in network kcmdline 2023-02-27 17:39:14 +01:00
org.osbuild.implantisomd5 osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.isolinux stages/isolinux: default list 2023-05-23 10:13:15 +02:00
org.osbuild.kernel-cmdline osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.keymap stages/keymap: add font option 2022-10-25 11:20:11 +02:00
org.osbuild.kickstart osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.livesys stage: add a livesys stage 2023-05-31 09:30:55 +02:00
org.osbuild.locale osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.lorax-script stages/lorax-script: add missing type of path to the schema 2023-04-19 12:42:27 +02:00
org.osbuild.luks2.format osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.luks2.remove-key osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.lvm2.create osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.lvm2.metadata stages/lvm2.metadata: fix typo in regex 2021-08-21 09:10:42 +02:00
org.osbuild.mkdir stages/mkdir: enhance stage documentation 2023-01-20 14:28:36 +01:00
org.osbuild.mkfs.btrfs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.mkfs.ext4 org.osbuild.mkfs.ext4: Add verity option to 2023-05-16 00:03:16 +02:00
org.osbuild.mkfs.fat osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.mkfs.xfs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.mkinitcpio Add mkinitcpio stage 2021-12-21 10:44:55 +01:00
org.osbuild.modprobe osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.nginx.conf modules: explicit encodings for open() 2022-09-09 15:33:29 +02:00
org.osbuild.nm.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.nm.conn osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.noop osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.oci-archive tox: add tox 2023-08-01 15:01:13 +02:00
org.osbuild.oscap.autotailor stages: add openscap autotailor stage 2023-07-18 15:29:13 -07:00
org.osbuild.oscap.remediation osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.commit osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.config ostree.config: add aboot (Android) bootloader config option 2022-12-15 11:27:02 +00:00
org.osbuild.ostree.deploy osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.encapsulate stages: add new org.osbuild.ostree.encapsulate 2022-12-15 11:13:19 +01:00
org.osbuild.ostree.fillvar osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.init osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.init-fs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.os-init osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.passwd osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.preptree stages/ostree.preptree: fix broken link 2022-10-26 15:04:53 +02:00
org.osbuild.ostree.pull osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.remotes osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.selinux osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ovf tox: add tox 2023-08-01 15:01:13 +02:00
org.osbuild.pacman osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pacman-keyring stages: add pacman keyring stage 2022-03-01 16:07:27 +01:00
org.osbuild.pacman.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pacman.mirrorlist.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pam.limits.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.parted osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pwquality.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.qemu osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.resolv-conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rhsm osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rhsm.facts stages/rhsm.facts: create facts file in /etc 2023-01-03 09:27:13 +01:00
org.osbuild.rpm org.osbuild.rpm: Add some context to rpmkeys failure 2023-07-18 18:42:47 +02:00
org.osbuild.rpm-ostree osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rpm.macros osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rpmkeys.import osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.selinux osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.selinux.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.sfdisk stages/sfdisk: support changing GPT partition attribute bits 2023-05-25 14:57:28 +02:00
org.osbuild.sgdisk stages/sgdisk: option to not quote partition names passed to sgdisk 2023-05-26 08:43:52 +02:00
org.osbuild.shell.init stages/shell.init: add top-level files property 2023-02-15 18:14:01 +01:00
org.osbuild.skopeo stages/skopeo: merge manifest into image directory 2023-03-31 14:57:26 +02:00
org.osbuild.squashfs stages/squashfs: add support for zstd compression 2023-07-18 08:58:26 +02:00
org.osbuild.sshd.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.sysconfig stages/sysconfig: add desktop support 2023-07-17 12:15:12 +02:00
org.osbuild.sysctld osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.systemd osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.systemd-journald stages: add org.osbuild.systemd-journald stage 2022-10-21 09:04:51 +02:00
org.osbuild.systemd-logind stages/logind-systemd: add ReserveVT option 2022-10-22 14:58:44 +02:00
org.osbuild.systemd.preset stage/systemd.preset: be able to write a preset file 2023-04-05 14:34:39 +02:00
org.osbuild.systemd.unit osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.tar osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.test osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.timezone osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.tmpfilesd osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.truncate osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.tuned osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.udev.rules osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.uki stages: add stage to build unified kernel images 2022-11-14 20:10:59 +01:00
org.osbuild.untar osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.users stages/users: create missing home directories 2022-12-07 17:25:30 +01:00
org.osbuild.vagrant osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.waagent.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.wsl.conf stages/org.osbuild.wsl.conf: add stage to configure WSL settings 2023-04-11 10:11:08 +02:00
org.osbuild.xorrisofs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.xz osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.yum.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.yum.repos stages/yum.repo: add sslverify field 2023-05-03 20:53:52 +02:00
org.osbuild.zipl osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.zipl.inst osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.zstd stages: add new zstd stage 2023-06-14 09:44:00 +02:00