Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #73

Merged
merged 2 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ default_language_version:

repos:
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 23.12.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/pylint
rev: v3.0.1
rev: v3.0.3
hooks:
- id: pylint
args:
Expand All @@ -29,7 +29,7 @@ repos:
- uvicorn[standard]~=0.25.0
- APScheduler~=3.10.4
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -43,11 +43,11 @@ repos:
args:
- --py310-plus
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v4.0.0-alpha.8
hooks:
- id: prettier
14 changes: 7 additions & 7 deletions static/scripts/air-datepicker/air-datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"object" == typeof exports && "object" == typeof module
? (module.exports = t())
: "function" == typeof define && define.amd
? define([], t)
: "object" == typeof exports
? (exports.AirDatepicker = t())
: (e.AirDatepicker = t());
? define([], t)
: "object" == typeof exports
? (exports.AirDatepicker = t())
: (e.AirDatepicker = t());
})(this, function () {
return (function () {
"use strict";
Expand Down Expand Up @@ -1897,9 +1897,9 @@
!t.buttons && a
? r._addButtons()
: t.buttons && !a
? (r.buttons.destroy(),
r.$buttons.parentNode.removeChild(r.$buttons))
: l && t.buttons && a && r.buttons.clearHtml().render(),
? (r.buttons.destroy(),
r.$buttons.parentNode.removeChild(r.$buttons))
: l && t.buttons && a && r.buttons.clearHtml().render(),
!t.isMobile && o
? (r.treatAsInline || j || r._createMobileOverlay(),
r._addMobileAttributes(),
Expand Down
93 changes: 48 additions & 45 deletions static/scripts/iro.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"object" == typeof exports && "undefined" != typeof module
? (module.exports = n())
: "function" == typeof define && define.amd
? define(n)
: ((t = t || self).iro = n());
? define(n)
: ((t = t || self).iro = n());
})(this, function () {
"use strict";
var m,
Expand Down Expand Up @@ -203,8 +203,8 @@
"number" == typeof i && !1 === r.test(n)
? i + "px"
: null == i
? ""
: i);
? ""
: i);
}
function R(t, n, i, r, e) {
var u, o, l, s, c;
Expand All @@ -215,8 +215,8 @@
? "class"
: n
: "class" === n
? "className"
: n) ||
? "className"
: n) ||
"children" === n
);
else if ("style" === n)
Expand All @@ -234,23 +234,23 @@
? (r || t.addEventListener(n, v, s), ((t.t || (t.t = {}))[n] = i))
: t.removeEventListener(n, v, s))
: "list" !== n && "tagName" !== n && "form" !== n && !e && n in t
? (t[n] = null == i ? "" : i)
: "function" != typeof i &&
"dangerouslySetInnerHTML" !== n &&
(n !== (n = n.replace(/^xlink:?/, ""))
? null == i || !1 === i
? t.removeAttributeNS(
"http://www.w3.org/1999/xlink",
n.toLowerCase(),
)
: t.setAttributeNS(
"http://www.w3.org/1999/xlink",
n.toLowerCase(),
i,
)
: null == i || !1 === i
? t.removeAttribute(n)
: t.setAttribute(n, i));
? (t[n] = null == i ? "" : i)
: "function" != typeof i &&
"dangerouslySetInnerHTML" !== n &&
(n !== (n = n.replace(/^xlink:?/, ""))
? null == i || !1 === i
? t.removeAttributeNS(
"http://www.w3.org/1999/xlink",
n.toLowerCase(),
)
: t.setAttributeNS(
"http://www.w3.org/1999/xlink",
n.toLowerCase(),
i,
)
: null == i || !1 === i
? t.removeAttribute(n)
: t.setAttribute(n, i));
}
function v(t) {
return this.t[t.type](m.event ? m.event(t) : t);
Expand Down Expand Up @@ -567,19 +567,19 @@
/^(?:#?|0x?)[0-9a-fA-F]{3,8}$/.test(t)
? (this.hexString = t)
: /^rgba?/.test(t)
? (this.rgbString = t)
: /^hsla?/.test(t) && (this.hslString = t);
? (this.rgbString = t)
: /^hsla?/.test(t) && (this.hslString = t);
else {
if ("object" != typeof t) throw new Error("Invalid color value");
t instanceof l
? (this.hsva = t.hsva)
: "r" in t && "g" in t && "b" in t
? (this.rgb = t)
: "h" in t && "s" in t && "v" in t
? (this.hsv = t)
: "h" in t && "s" in t && "l" in t
? (this.hsl = t)
: "kelvin" in t && (this.kelvin = t.kelvin);
? (this.rgb = t)
: "h" in t && "s" in t && "v" in t
? (this.hsv = t)
: "h" in t && "s" in t && "l" in t
? (this.hsl = t)
: "kelvin" in t && (this.kelvin = t.kelvin);
}
}),
(t.setChannel = function (t, n, i) {
Expand Down Expand Up @@ -889,14 +889,17 @@
((n = D.exec(t))
? ((i = 17 * Q(n[1])), (r = 17 * Q(n[2])), (e = 17 * Q(n[3])))
: (n = F.exec(t))
? ((i = 17 * Q(n[1])),
(r = 17 * Q(n[2])),
(e = 17 * Q(n[3])),
(u = 17 * Q(n[4])))
: (n = L.exec(t))
? ((i = Q(n[1])), (r = Q(n[2])), (e = Q(n[3])))
: (n = B.exec(t)) &&
((i = Q(n[1])), (r = Q(n[2])), (e = Q(n[3])), (u = Q(n[4]))),
? ((i = 17 * Q(n[1])),
(r = 17 * Q(n[2])),
(e = 17 * Q(n[3])),
(u = 17 * Q(n[4])))
: (n = L.exec(t))
? ((i = Q(n[1])), (r = Q(n[2])), (e = Q(n[3])))
: (n = B.exec(t)) &&
((i = Q(n[1])),
(r = Q(n[2])),
(e = Q(n[3])),
(u = Q(n[4]))),
!n)
)
throw new Error("Invalid hex string");
Expand Down Expand Up @@ -1047,10 +1050,10 @@
i && "clockwise" === e
? (n = r + n)
: "clockwise" === e
? (n = 360 - r + n)
: i && "anticlockwise" === e
? (n = r + 180 - n)
: "anticlockwise" === e && (n = r - n),
? (n = 360 - r + n)
: i && "anticlockwise" === e
? (n = r + 180 - n)
: "anticlockwise" === e && (n = r - n),
it(n, 360)
);
}
Expand Down Expand Up @@ -1759,8 +1762,8 @@
0 === t
? this.emit("input:start", this.color, n)
: 1 === t
? this.emit("input:move", this.color, n)
: 2 === t && this.emit("input:end", this.color, n);
? this.emit("input:move", this.color, n)
: 2 === t && this.emit("input:end", this.color, n);
}),
(t.prototype.render = function (t, e) {
var u = this,
Expand Down