civics-cdf-validator 1.52.dev2__py3-none-any.whl → 1.52.dev4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- civics_cdf_validator/rules.py +7 -3
- civics_cdf_validator/version.py +1 -1
- {civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/METADATA +1 -1
- {civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/RECORD +8 -8
- {civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/WHEEL +0 -0
- {civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/entry_points.txt +0 -0
- {civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/licenses/LICENSE-2.0.txt +0 -0
- {civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/top_level.txt +0 -0
civics_cdf_validator/rules.py
CHANGED
|
@@ -2309,8 +2309,11 @@ class ValidURIAnnotation(base.BaseRule):
|
|
|
2309
2309
|
"URI {} is missing annotation.".format(ascii_url), [uri]
|
|
2310
2310
|
)
|
|
2311
2311
|
|
|
2312
|
-
#
|
|
2313
|
-
if
|
|
2312
|
+
# Skip platform checks for image or office contact form annotations.
|
|
2313
|
+
if (
|
|
2314
|
+
re.search(r"candidate-image", annotation)
|
|
2315
|
+
or annotation == "office-contact_form"
|
|
2316
|
+
):
|
|
2314
2317
|
continue
|
|
2315
2318
|
|
|
2316
2319
|
ann_elements = annotation.split("-")
|
|
@@ -2631,7 +2634,8 @@ class ElectionEndDatesInThePast(base.DateRule):
|
|
|
2631
2634
|
"canceled",
|
|
2632
2635
|
]:
|
|
2633
2636
|
raise loggers.ElectionError.from_message(
|
|
2634
|
-
"A bounded election should not have an end date in the past."
|
|
2637
|
+
"A bounded election should not have an end date in the past.",
|
|
2638
|
+
[element],
|
|
2635
2639
|
)
|
|
2636
2640
|
self.reset_instance_vars()
|
|
2637
2641
|
for contest in self.get_elements_by_class(element, "Contest"):
|
civics_cdf_validator/version.py
CHANGED
{civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/RECORD
RENAMED
|
@@ -3,13 +3,13 @@ civics_cdf_validator/base.py,sha256=5zntjAdAA-bdwYOOStFgUle9LGX_ccelS--thMhUG9A,
|
|
|
3
3
|
civics_cdf_validator/gpunit_rules.py,sha256=Cg-qlOeVKTCQ5qUKYSxbVrrh3tdLt1X5Eg-7uyyR_SY,9487
|
|
4
4
|
civics_cdf_validator/loggers.py,sha256=ZfWFd9yskcd2-qb83EPz7eqa1iGO8BRFMtDZeE1hofA,6921
|
|
5
5
|
civics_cdf_validator/office_utils.py,sha256=aFxcFQZF2oBn0gPXt_kv1LxHGvwzABScT8X5yaYtVLw,2705
|
|
6
|
-
civics_cdf_validator/rules.py,sha256=
|
|
6
|
+
civics_cdf_validator/rules.py,sha256=N1tuTzrXldBFr-i8KwfA_U9YTqlAsZ4AcBuIS7dkl6Q,164671
|
|
7
7
|
civics_cdf_validator/stats.py,sha256=YNqv3Khkt_hJxCIunFBRSl23oXqu5gNjCmWMHFbAcSU,3819
|
|
8
8
|
civics_cdf_validator/validator.py,sha256=2nwlFfQ9AmpTaO5n5ekaO845Rm0JPjNF-Il6FJW_50k,12678
|
|
9
|
-
civics_cdf_validator/version.py,sha256=
|
|
10
|
-
civics_cdf_validator-1.52.
|
|
11
|
-
civics_cdf_validator-1.52.
|
|
12
|
-
civics_cdf_validator-1.52.
|
|
13
|
-
civics_cdf_validator-1.52.
|
|
14
|
-
civics_cdf_validator-1.52.
|
|
15
|
-
civics_cdf_validator-1.52.
|
|
9
|
+
civics_cdf_validator/version.py,sha256=DcE8W50O2ld6FC_vPBe153Y3pot5S6zikBRjTfurwwY,188
|
|
10
|
+
civics_cdf_validator-1.52.dev4.dist-info/licenses/LICENSE-2.0.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
11
|
+
civics_cdf_validator-1.52.dev4.dist-info/METADATA,sha256=0tj7OrzJFoUzHA1_L44veCTR6UBtq7n5qVeUBac7_lE,1008
|
|
12
|
+
civics_cdf_validator-1.52.dev4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
13
|
+
civics_cdf_validator-1.52.dev4.dist-info/entry_points.txt,sha256=QibgvtMOocwDi7fQ1emgMJ2lIlI41sW0__KIQdnVn90,77
|
|
14
|
+
civics_cdf_validator-1.52.dev4.dist-info/top_level.txt,sha256=PYT5Eclxbop5o6DJIcgs4IeU6Ds5jqyftjoFbgkkJYo,21
|
|
15
|
+
civics_cdf_validator-1.52.dev4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{civics_cdf_validator-1.52.dev2.dist-info → civics_cdf_validator-1.52.dev4.dist-info}/top_level.txt
RENAMED
|
File without changes
|