aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-12-29 19:51:23 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-12-29 19:51:23 +0200
commitae7dd4184f63185880738c5133f326fe47c6606a (patch)
treed6d0e55d9684fef5bca6a9035a37763dca8b8402 /data
parentbump snakeoil minimal version (diff)
downloadpkgcheck-ae7dd4184f63185880738c5133f326fe47c6606a.tar.gz
pkgcheck-ae7dd4184f63185880738c5133f326fe47c6606a.tar.bz2
pkgcheck-ae7dd4184f63185880738c5133f326fe47c6606a.zip
format using black
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'data')
-rwxr-xr-xdata/share/pkgcheck/ci.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/share/pkgcheck/ci.py b/data/share/pkgcheck/ci.py
index c9f438cd..9920a910 100755
--- a/data/share/pkgcheck/ci.py
+++ b/data/share/pkgcheck/ci.py
@@ -3,13 +3,13 @@
import json
import urllib.request
-JSON_URL = 'https://raw.githubusercontent.com/mgorny/pkgcheck2html/master/pkgcheck2html.conf.json'
+JSON_URL = "https://raw.githubusercontent.com/mgorny/pkgcheck2html/master/pkgcheck2html.conf.json"
with urllib.request.urlopen(JSON_URL) as f:
ci_data = json.loads(f.read())
-with open('pkgcheck.conf', 'w') as f:
- f.write('[CHECKSETS]\nGentooCI =\n')
+with open("pkgcheck.conf", "w") as f:
+ f.write("[CHECKSETS]\nGentooCI =\n")
for k, v in sorted(ci_data.items()):
- if v == 'err':
- f.write(f' {k}\n')
+ if v == "err":
+ f.write(f" {k}\n")