47 Commits

Author SHA1 Message Date
Stephan Kulow
f38bd3a7ed Target E128 - Continuation line under-indented for visual indent
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
27c364b0c9 Target E251 - Unexpected spaces around keyword
https://www.flake8rules.com/rules/E251.html
2022-02-18 17:28:13 +01:00
Stephan Kulow
d8f5d0874e Remove E201 - Whitespace after '('
https://www.flake8rules.com/rules/E201.html
2022-02-18 17:23:19 +01:00
Stephan Kulow
54079e949f Target E202 - Whitespace before ')'
https://www.flake8rules.com/rules/E202.html
2022-02-18 17:18:29 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
4e9c8eabbe Target E305 - Have two empty lines of a class 2022-02-18 17:11:46 +01:00
Stephan Kulow
579145b52c Target F841 - Remove unused variables 2022-02-18 17:01:38 +01:00
Stephan Kulow
0561e06cb1 Target E261 - two spaces before inline comment 2022-02-18 16:39:16 +01:00
Stephan Kulow
a8623bb8d8 Handle E712 - don't compare with == to Booleans 2022-02-18 16:34:58 +01:00
Stephan Kulow
1383ae9725 Targetting E126 - Continuation line over-indented for hanging indent
https://www.flake8rules.com/rules/E126.html
2022-02-18 16:02:08 +01:00
Stephan Kulow
5df665ccc5 Targeting E123 - Closing bracket does not match indentation
https://www.flake8rules.com/rules/E123.html
2022-02-18 15:52:47 +01:00
Stephan Kulow
e52dc6ce2b Harmonize imports on using lxml for XML parsing 2022-02-18 11:16:01 +01:00
Stephan Kulow
8b13dffe50 Remove E265 from flake ignore list 2021-09-21 14:52:46 +02:00
Stephan Kulow
a8f7146baf Remove E713 offense from flaker 2021-09-21 14:20:08 +02:00
Steve Kowalik
326a087168 Switch to python3 shebang
With the python shebang remaining as Python 2, switch the scripts to
using Python 3. This also allows us to clean up some imports.
2021-02-03 14:53:42 +11:00
ea3b07568c Fix E203
This fixes incorrect whitespacing inside dictionaries.
2019-12-10 08:54:32 +01:00
32ad0adc2d Fix all E22x errors
This cleans up white spaces around various kinds of operators to be
consistent.
2019-11-27 11:08:06 +01:00
8483632683 Some flake8 improvements
Was bored while waiting for a test run to finish. The rule is
that two empty lines distinguish larger blocks and shouldn't be
used between functions or within functions.
2019-11-27 10:40:15 +01:00
Stephan Kulow
fec762e5a4 Avoid warning on using .warn (python3) 2019-05-11 14:25:02 +02:00
Stephan Kulow
ea9061ccf5 Import urllib2 python agnostic 2018-11-16 09:01:45 +01:00
Jimmy Berry
6069245350 Remove SUSE copyright, warranty, and license headers.
Distinct copyrights were left as I do not wish to track down commit
history to ensure it properly documents the copyright holders. Also left
non-GPLv2 licenses and left bs_copy untouched as a mirror from OBS.

Already have a mix of with and without headers and even OBS does not place
on majority of files. If SUSE lawyers have an issue it will come up in
legal review for Factory.
2018-08-23 19:18:06 -05:00
ae801cf76d
Change remaining usage of _product to 000product
All openSUSE distros in developments switched to the new product builder, meaning
they no longer use _product as the package container, but operate on the standardized
name 000product.

Addresses https://progress.opensuse.org/issues/20890
2018-03-29 13:12:35 +02:00
Jimmy Berry
f98a78c1ae Remove Vim config in favor of EditorConfig. 2018-01-23 00:48:00 -06:00
Ludwig Nussel
3dce23f9d4 biarchtool: blacklist 000release-packages 2017-12-07 11:43:33 +01:00
Ludwig Nussel
aa80c7b96e biarchtool: also work for rings 2017-12-07 11:43:33 +01:00
Ludwig Nussel
a68287f795 biarchtool: blacklist patterns that are in ring1 2017-12-07 11:43:27 +01:00
Ludwig Nussel
7b5c3d1ae6 biarchtool: fetch all packagemetas at once 2017-12-07 11:43:15 +01:00
d1c4801578 Another set of low-noise flake8 cleanups 2017-10-20 20:46:44 +02:00
3cf49d9556 Python 2.6+ / 3.x style except clauses
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02:00
Ludwig Nussel
4db5ba7e73 Refactor getting file list 2017-07-11 17:44:35 +02:00
Ludwig Nussel
d396381fee Remove leftover debug statements 2017-07-11 17:35:49 +02:00
Ludwig Nussel
9a5f69f9e2 warn about linked packages 2017-07-05 10:31:40 +02:00
Ludwig Nussel
fd340ba38b add openSUSE-EULAs to blacklist 2017-07-05 10:31:40 +02:00
Ludwig Nussel
2309cb6c92 Add libjpeg62-turbo to whitelist 2017-07-05 10:31:40 +02:00
Ludwig Nussel
69a501d909 Don't use product filter by default 2017-07-05 10:31:40 +02:00
Ludwig Nussel
c25a64dfde Update blacklist and whiteliste 2017-07-05 10:31:40 +02:00
Ludwig Nussel
a3326be907 Fix biarch logic to make --force work 2017-07-05 10:31:40 +02:00
Ludwig Nussel
845fb57bcf Catch more errors, fixes 2017-07-05 10:31:40 +02:00
Ludwig Nussel
14d5e8eda1 Take reverse build deps into account
With this is should be safe to call enable_baselibs_packages on any
package.
2017-05-09 17:35:39 +02:00
Ludwig Nussel
9b069d8a5d Filter latest packages further to only return new packages 2017-05-09 17:35:36 +02:00
Ludwig Nussel
b9f24f98a2 Add wipe option also to enable_baselibs_packages 2017-05-09 17:35:36 +02:00
Ludwig Nussel
28d480c979 Optionally wipe binaries when disabling 2017-05-09 17:35:36 +02:00
Ludwig Nussel
af88bd1546 reverse logic 2017-05-09 09:41:17 +02:00
Ludwig Nussel
2687e7c682 Add remove_explicit_enable command 2017-05-09 09:41:17 +02:00
Ludwig Nussel
2d3d5b8a04 Hardcode i586 only in a single place 2017-05-09 09:41:17 +02:00
Ludwig Nussel
a83900b35e Refactor package selecting 2017-05-09 09:41:17 +02:00
Ludwig Nussel
4823ce63ff Tool to enable biarch packages 2016-10-14 14:29:54 +02:00