Benjamin Drung
444b319c12
Implement refactorings found by pylint
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 16:58:24 +01:00
Benjamin Drung
b1bc7e1cdc
Address pylint complaints
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 23:10:31 +01:00
Benjamin Drung
4e27045f49
style: Sort Python imports with isort
...
```
isort -l 99 --profile=black .
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 21:28:47 +01:00
Benjamin Drung
3354b526b5
style: Format Python code with black
...
```
PYTHON_SCRIPTS=$(grep -l -r '^#! */usr/bin/python3$' .)
black -C -l 99 . $PYTHON_SCRIPTS
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 19:45:36 +01:00
Dan Streetman
0eaf71737d
test: fix example package class
...
this class can be much simpler and more robust and doesn't require
checking in the example package files to git
2021-07-14 17:41:10 -04:00
Dan Streetman
a7d166b52f
pull-pkg: use ubuntutools/version/Version
...
instead of debian.debian_support.Version, use ubuntutools version,
which extends it and adds the strip_epoch() function which is
needed to convert full version string to version used in filenames
2019-09-09 12:25:21 -04:00
Mattia Rizzolo
607f5a712f
Fix FTBFS due to newest tar being picker about arguments order
...
Closes : #897478
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-05-10 10:38:25 +02:00
Benjamin Drung
cc7170eccb
Fix all flake8 issues
2017-05-01 00:20:03 +02:00
Benjamin Drung
c175f31ea7
ubuntutools/test/example_package.py: Use dpkg-source directly instead of
...
dpkg-buildpackage to avoid running fakeroot inside fakeroot which leads
to a FTBFS on natty.
2011-02-12 16:38:14 +01:00
Stefano Rivera
bb718951ed
Store blank example package extracted
2011-01-15 19:47:13 +02:00
Stefano Rivera
b11d08f6b0
Generate example package
2011-01-15 17:56:48 +02:00