mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Revert screenshot size warning to only info é_è
This commit is contained in:
parent
bd6ad626d9
commit
b67409e3a8
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ class App(TestSuite):
|
||||||
du_output = subprocess.check_output(["du", "-sb", app.path + "/doc/screenshots"], shell=False)
|
du_output = subprocess.check_output(["du", "-sb", app.path + "/doc/screenshots"], shell=False)
|
||||||
screenshots_size = int(du_output.split()[0])
|
screenshots_size = int(du_output.split()[0])
|
||||||
if screenshots_size > 512000:
|
if screenshots_size > 512000:
|
||||||
yield Warning("Consider keeping the content of doc/screenshots under ~512Kb for better UI/UX once the screenshots will be integrated in the webadmin app's catalog (to be discussed with the team)")
|
yield Info("Consider keeping the content of doc/screenshots under ~512Kb for better UI/UX once the screenshots will be integrated in the webadmin app's catalog (to be discussed with the team)")
|
||||||
|
|
||||||
for path in os.listdir(app.path + "/doc/screenshots"):
|
for path in os.listdir(app.path + "/doc/screenshots"):
|
||||||
if path == ".gitkeep":
|
if path == ".gitkeep":
|
||||||
|
|
Loading…
Reference in a new issue