mirror of https://github.com/zulip/zulip.git
requirements: Upgrade Ruff.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
1735b8863e
commit
3442bf2843
|
@ -111,6 +111,7 @@ select = [
|
|||
ignore = [
|
||||
"B006", # Do not use mutable data structures for argument defaults
|
||||
"B007", # Loop control variable not used within the loop body
|
||||
"B008", # Do not perform function calls in argument defaults.
|
||||
"C408", # Unnecessary `dict` call (rewrite as a literal)
|
||||
"E402", # Module level import not at top of file
|
||||
"E501", # Line too long
|
||||
|
|
|
@ -1894,23 +1894,23 @@ ruamel.yaml.clib==0.2.7 \
|
|||
--hash=sha256:f01da5790e95815eb5a8a138508c01c758e5f5bc0ce4286c4f7028b8dd7ac3d0 \
|
||||
--hash=sha256:f34019dced51047d6f70cb9383b2ae2853b7fc4dce65129a5acd49f4f9256646
|
||||
# via ruamel.yaml
|
||||
ruff==0.0.99 \
|
||||
--hash=sha256:0dfe9104092f4e2a9ac6af8328702bba7c725f037ed3ff83a3bab37de1edce1b \
|
||||
--hash=sha256:1047ee9b65b5ec700bf7a803e4cfc8b22755e69de73058f65fedf4859fecf52a \
|
||||
--hash=sha256:11992bc96095bfa9af49ad33b47c4612cc4e27e84052f707a8cd4cf39f0f71fd \
|
||||
--hash=sha256:21ea89b56d3042c12d727d83d17b62dfb55acfe3a1f515b87b805554e7a3bb88 \
|
||||
--hash=sha256:331ad9d419faaa47c13a540b704d8c7dc84883c6e682c167a86726c4d1a9fcab \
|
||||
--hash=sha256:347d46a6e793bf7ca28c04f043054efdb27945ee4fc76561da19387b70e0646c \
|
||||
--hash=sha256:3e2986309ccfddf43d0517ef5d6da6e3b50a32eac227f8307acf7d90f581373b \
|
||||
--hash=sha256:44a6967bce6696e602132ea2a1f5e14ae7d072ddb7bbb8c453d6f552794cc21b \
|
||||
--hash=sha256:60695d481e0091cb4fe67a1a9f0aeaca5a27a3cda45cc46b5bcfd0a4e17bc8dc \
|
||||
--hash=sha256:74ceb85fb2466646a8e87eb4eb66201569ad773cc4ec66384af6728eb2d21416 \
|
||||
--hash=sha256:897b4336118c3c980951381bdfcbf21c0eab941c3ce2eee1082fe480c64483a2 \
|
||||
--hash=sha256:8d4f215a1d337601f7f30facc51ee0db9eb97b9c8d21071d9910e42583c65df7 \
|
||||
--hash=sha256:9ceb8819b4f36fbcfc50810371951950189883f4c510ce0c7603eee7999f37a8 \
|
||||
--hash=sha256:a83fce30d1030b0621a03e5a94316ef909510ac5c56eba8bda664d16ad67cf79 \
|
||||
--hash=sha256:b0ae12b517aee0827548092d31222e1fae4b149514414c76e4d8697cf984d80f \
|
||||
--hash=sha256:c82bb07d05018a7c7d58175331b2d73d45570b73c74fa16dc0b6b8828d243c5d
|
||||
ruff==0.0.122 \
|
||||
--hash=sha256:0c139e0ba51e4f115955e325d4c6350afdf82da3caaf0129d671757296ef7d86 \
|
||||
--hash=sha256:2450e72c9a663144c0b18de89b4c40d597f052ae2adec7a4569d452c83a1a6e7 \
|
||||
--hash=sha256:296aa2ea720577923a7d5bfe022b890f89465e32fd0a66dc1ee4ee84436a1038 \
|
||||
--hash=sha256:31ecf99b71ca7dcacfd96d61e25412d50405535bb595e5492cac3ae2288b31c7 \
|
||||
--hash=sha256:34e699d3a7cbbf200382f9799567e48ac01c130abafa24b22497f13a04dacaad \
|
||||
--hash=sha256:489be3996a1e7666c63c76168add60e2defa4b00db87e6714f6d2dac32410dcb \
|
||||
--hash=sha256:5b54aba68b9190c7dfb855ce54d18d82411bd471bb7dcbb6534cf1d7cb813bf7 \
|
||||
--hash=sha256:68aaf05595b839797d8b7cd1f631125a5a0376f3738abd6b2c6f531ad0097615 \
|
||||
--hash=sha256:69ac2a9e880ab65ad386675ad64bf17620621375acc2df016eacb22df0096f15 \
|
||||
--hash=sha256:808985dde7a33614dbec41f508954012bf4a0de752f005e767e07f89eb3c2739 \
|
||||
--hash=sha256:8172cff41c4c71395a7d1689e146964682601b491bb142150c8d5d9ce5438b38 \
|
||||
--hash=sha256:8da20810a4e13950a03329e53e7dfb8cb82eb9334e62e0f11f2ceba9f553e350 \
|
||||
--hash=sha256:966081d61f982a5f4e93a7961efdc9505709a2729e0c4ed66d8d523284476484 \
|
||||
--hash=sha256:bb66d182a953b994fd7c3783c71bbbb2a8a8840afdb3d5ae6f915d66ae7fe130 \
|
||||
--hash=sha256:bd60be2530702e5f9d18e27a4fb77475d7667012f7ba12004fdf3aeb5724a86f \
|
||||
--hash=sha256:fd7f98a6e8fe35672b5a249ed204072ce96759184612a0adfa256a1fb50c4df0
|
||||
# via -r requirements/dev.in
|
||||
s3transfer==0.6.0 \
|
||||
--hash=sha256:06176b74f3a15f61f1b4f25a1fc29a4429040b7647133a463da8fa5bd28d5ecd \
|
||||
|
|
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 154
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (211, 0)
|
||||
PROVISION_VERSION = (212, 0)
|
||||
|
|
|
@ -1089,7 +1089,7 @@ class ValidatorTestCase(ZulipTestCase):
|
|||
with self.assertRaisesRegex(ValidationError, r"x\['a'\] is not a dict"):
|
||||
x["a"].get("a")
|
||||
with self.assertRaisesRegex(ValidationError, r"x\['a'\] is not a dict"):
|
||||
"a" in x["a"]
|
||||
_ = "a" in x["a"]
|
||||
with self.assertRaisesRegex(ValidationError, r"x\['a'\] is not a dict"):
|
||||
x["a"].keys()
|
||||
with self.assertRaisesRegex(ValidationError, r"x\['a'\] is not a dict"):
|
||||
|
|
Loading…
Reference in New Issue