mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-06 17:15:38 -08:00
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|||||||
@@ -8,4 +8,11 @@ markers = [
|
|||||||
"docker: requires docker socket and elevated container permissions",
|
"docker: requires docker socket and elevated container permissions",
|
||||||
"compose: Tests docker compose files. Slow.",
|
"compose: Tests docker compose files. Slow.",
|
||||||
"feature_complete: extended coverage suite not run by default",
|
"feature_complete: extended coverage suite not run by default",
|
||||||
]
|
]
|
||||||
|
[tool.ruff]
|
||||||
|
line-length = 180
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
select = ["E", "F"]
|
||||||
|
extend-select = ["E402"]
|
||||||
|
ignore = ["E203", "C901"]
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
[lint]
|
|
||||||
select = ["E", "F"] # or whatever you are using
|
|
||||||
# Add E402 so Ruff knows the noqa is legitimate
|
|
||||||
extend-select = ["E402"]
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -679,14 +679,15 @@ def importConfigs(pm, db, all_plugins):
|
|||||||
# ccd(key, default, config_dir, name, inputtype, options, group, events=None, desc="", setJsonMetadata=None, overrideTemplate=None, forceDefault=False)
|
# ccd(key, default, config_dir, name, inputtype, options, group, events=None, desc="", setJsonMetadata=None, overrideTemplate=None, forceDefault=False)
|
||||||
ccd('VERSION', new_version , c_d, '_KEEP_', '_KEEP_', '_KEEP_', '_KEEP_', None, "_KEEP_", None, None, True)
|
ccd('VERSION', new_version , c_d, '_KEEP_', '_KEEP_', '_KEEP_', '_KEEP_', None, "_KEEP_", None, None, True)
|
||||||
|
|
||||||
write_notification(f'[Upgrade]: App upgraded from <code>{prev_version}</code> to \
|
write_notification(
|
||||||
|
f"""[Upgrade]: App upgraded from <code>{prev_version}</code> to \
|
||||||
<code>{new_version}</code> 🚀 Please clear the cache: \
|
<code>{new_version}</code> 🚀 Please clear the cache: \
|
||||||
<ol> <li>Click OK below</li> \
|
<ol> <li>Click OK below</li> \
|
||||||
<li>Clear the browser cache (shift + browser refresh button)</li> \
|
<li>Clear the browser cache (shift + browser refresh button)</li> \
|
||||||
<li> Clear app cache with the <i class="fa-solid fa-rotate"></i> (reload) button in the header</li>\
|
<li> Clear app cache with the <i class="fa-solid fa-rotate"></i> (reload) button in the header</li>\
|
||||||
<li>Go to Settings and click Save</li> </ol>\
|
<li>Go to Settings and click Save</li> </ol>\
|
||||||
Check out new features and what has changed in the \
|
Check out new features and what has changed in the \
|
||||||
<a href="https://github.com/jokob-sk/NetAlertX/releases" target="_blank">📓 release notes</a>.',
|
<a href="https://github.com/jokob-sk/NetAlertX/releases" target="_blank">📓 release notes</a>.""",
|
||||||
'interrupt',
|
'interrupt',
|
||||||
timeNowDB()
|
timeNowDB()
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user