Dirk Müller
730630f06f
Use f-strings where possible
2024-05-07 21:52:32 +02:00
Dominik Heidler
c374e81477
Move factory-package-news-web.py script to gunicorn
...
This script is used eg. for the /snapshot-changes/opensuse/Tumbleweed
route and was using the WSGIScriptAlias apache command.
With the switch to nginx we need this more modern approach.
2023-06-05 12:53:34 +02:00
Stephan Kulow
aaab4af930
Target F401 - Unused imports
2022-02-18 18:29:27 +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
ae734ba555
Fix indent of statements E127
...
https://www.flake8rules.com/rules/E127.html
2022-02-18 14:23:59 +01:00
Stephan Kulow
a8f7146baf
Remove E713 offense from flaker
2021-09-21 14:20:08 +02:00
ad06348dcf
More flake8 cleanups
2019-12-10 12:50:57 +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
247f695d4c
Convert factory-package-news-web.py to python3
2019-10-09 14:50:39 +02: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
Jimmy Berry
f98a78c1ae
Remove Vim config in favor of EditorConfig.
2018-01-23 00:48:00 -06:00
Jimmy Berry
2abf28f274
news/web: allow dot in version.
2018-01-17 16:40:55 -06:00
d1c4801578
Another set of low-noise flake8 cleanups
2017-10-20 20:46:44 +02:00
6e78eb95fe
Enable F405,F811 (Unused imports)
...
Remove imports that are either duplicate or unused
2017-10-20 01:03:00 +02:00
Jimmy Berry
3fbeae9229
factory-package-news-web: do not restrict version to int.
...
Leap version numbers are currently formatted with a leading zero which is
stripped when converted to an int.
2017-05-01 20:57:27 -05:00
Jimmy Berry
09f547627c
factory-package-news-web: infer basedir from url_root.
...
Allows for multiple aliases to host different distro/version changes.
2017-04-18 22:04:59 -05:00
Ludwig Nussel
ddc3e45d52
move factory-package-news to subdirectory
2014-08-07 14:32:23 +02:00