debian-forge/osbuild/util
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
..
__init__.py util: mark as module 2020-04-21 17:00:04 +02:00
checksum.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
containers.py osbuild-mpp: extract is_manifest_list() function 2023-03-31 14:57:26 +02:00
ctx.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
fscache.py util/fscache: add cachedir-tag support 2022-12-20 16:56:43 +01:00
jsoncomm.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
linux.py linux: add Libc accessor with renameat2(2) 2022-12-06 09:48:38 +01:00
lorax.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
lvm2.py Fix errors reported by new version of mypy 2023-04-12 11:57:18 +02:00
mnt.py objectstore, move {u,}mount methods to util.mnt 2022-08-13 19:21:52 +01:00
osrelease.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
ostree.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
parsing.py util: add helper to parse size strings 2022-12-09 12:03:40 +01:00
path.py util/path: new clamp mtime function 2022-12-15 13:10:35 +00:00
pe32p.py util: add module to parse PE32+ files 2022-11-14 20:10:59 +01:00
rhsm.py util: fix typo in get_consumer_secrets 2022-12-09 21:46:43 +01:00
rmrf.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
selinux.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
term.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
types.py osbuild: fix optional-types 2022-07-13 17:31:37 +02:00
udev.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00