debian-forge/osbuild
Tomáš Hozza bf3e096735 Fix errors reported by new version of mypy
Fix the following errors:

```
osbuild/util/lvm2.py:117: error: Only instance methods can be decorated with @property
osbuild/api.py:50: error: Only instance methods can be decorated with @property
osbuild/sources.py:85: error: Only instance methods can be decorated with @property
```

Chaining of `@classmethod` and `@property` has been deprecated since
Python 3.11 with a note that chaining didn't work correctly in some
cases.

Relevant links:
https://github.com/python/mypy/issues/13746
https://docs.python.org/3.11/whatsnew/3.11.html#language-builtins

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-12 11:57:18 +02:00
..
formats format: read metadata from object not result 2022-12-09 12:03:40 +01:00
util Fix errors reported by new version of mypy 2023-04-12 11:57:18 +02:00
__init__.py Post release version bump 2023-04-12 08:13:49 +00:00
__main__.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
api.py Fix errors reported by new version of mypy 2023-04-12 11:57:18 +02:00
buildroot.py buildroot: explicitly bind mount runner 2022-10-11 12:49:16 +02:00
devices.py devices: new helper to ensure a device node exists 2022-11-22 18:28:38 +01:00
host.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
inputs.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
loop.py loop: silence W0201 (attribute outside init) in set_status 2022-05-06 17:33:23 +02:00
main_cli.py osbuid: integrate FsCache into ObjectStore 2022-12-09 12:03:40 +01:00
meta.py meta: ensure we have an absolute path for Index 2022-10-11 12:49:16 +02:00
monitor.py monitor: show pipeline's source epoch 2022-12-15 13:10:35 +00:00
mounts.py mounts: add possiblity to use norecovery with ro 2023-02-10 14:09:03 +01:00
objectstore.py util/fscache: provide store_tree() helper 2022-12-20 16:56:32 +01:00
pipeline.py pipeline: set source_epoch for tree 2022-12-15 13:10:35 +00:00
remoteloop.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
sources.py Fix errors reported by new version of mypy 2023-04-12 11:57:18 +02:00