987db92f3b
Mute pylint false-positive errors related to rpm
2023-01-20 16:16:23 +01:00
ef6e399603
Import rpm locally because it's not available to Read the Docs
2022-10-13 09:54:54 +02:00
fe59986e1c
Run autopep8 to fix whitespace issues
2022-09-12 13:45:19 +02:00
6d891d7488
Remove superfluous parens
2022-09-12 13:45:19 +02:00
3296fd8d89
User super() instead of referencing parent classes explicitly
2022-09-12 13:45:19 +02:00
f12c72a69f
Fix dangerous (mutable) default values
2022-09-12 13:45:19 +02:00
beaf312eee
Use implicit booleaness instead of len() to test if iterables are empty
2022-09-09 09:33:51 +02:00
feb53212dd
Modernize code with pyupgrade
...
pyupgrade --keep-percent-format --py36-plus `find -name '*.py'`
2022-07-28 19:14:12 +02:00
229913a77f
Clean imports up, drop python 2 fallbacks
2022-07-28 13:17:43 +02:00
Christian Berendt
d35983d5b8
Resolve PEP8 issue W291
...
* W291 trailing whitespace
2014-08-12 15:01:16 +02:00
Marcus Huewe
87aaa9aac4
- checker.check: always close fd
2013-07-04 14:24:29 +02:00
Danny Al-Gaaf
a5d14bfd48
checker.py: "More than one statement on a single line"
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 14:58:58 +02:00
Michal Vyskocil
7f2031558c
python3 compatibility: print function
...
The most visible change in python3 - removal of print statement and all
the crufty
print >> sys.stderr, foo,
The from __future__ import print_function makes it available in python
2.6
2013-04-16 10:51:41 +02:00
Michal Vyskocil
3a93ac6d10
python3 compatibility: except
...
changes 'except FooError, fe' to 'except FooError as fe'
available in python 2.6
2013-04-16 10:51:17 +02:00
Stephan Kulow
7c6653e831
avoid errors when checking rpm signkeys on files that are not rpm
2012-02-22 13:28:19 +01:00
Ludwig Nussel
f707e9a22e
fix pgp pubkey parsing
...
the base64 checksum must not be included in the key data. Newer rpm
don't like that.
2011-08-05 13:53:33 +02:00
Ludwig Nussel
3d610e6e0b
ignore gpg key import errors
...
Some projects use the same gpg key. To avoid osc from quitting when
building against two or more such projects at the same time ignore
gpg key import errors as long as at least one key could be imported.
2010-08-17 15:16:00 +02:00
Marcus Huewe
4584d83dbe
- remove shebang line to make rpmlint happy
2010-03-21 22:57:06 +01:00
Pavol Rusnak
90c4358da2
treat pylint warnings
2010-02-27 20:11:15 +01:00
Ludwig Nussel
32e99306b4
add vim mode lines to avoid evil tab characters :-)
2010-02-25 09:53:45 +01:00
Ludwig Nussel
8fb9669ae4
verify files using rpm bindings and keys supplied by buildservice
...
The build service is not ready for that yet. Almost all projects
that are not built but only imported to the build service have wrong
keys. To enable the new code set builtin_signature_check in .oscrc. You
may need to manually overwrite wrong _pubkey files in the
packagecachedir with correct keys until the build service is fixed.
2010-02-24 14:07:33 +01:00