civics-cdf-validator 1.52.dev3__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.
@@ -2309,8 +2309,11 @@ class ValidURIAnnotation(base.BaseRule):
2309
2309
  "URI {} is missing annotation.".format(ascii_url), [uri]
2310
2310
  )
2311
2311
 
2312
- # Only do platform checks if the annotation is not an image.
2313
- if re.search(r"candidate-image", annotation):
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("-")
@@ -5,4 +5,4 @@ No dependencies should be added to this module.
5
5
  See https://packaging.python.org/guides/single-sourcing-package-version/
6
6
  """
7
7
 
8
- __version__ = '1.52.dev3'
8
+ __version__ = '1.52.dev4'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: civics_cdf_validator
3
- Version: 1.52.dev3
3
+ Version: 1.52.dev4
4
4
  Summary: Checks if an election feed follows best practices
5
5
  Home-page: https://github.com/google/civics_cdf_validator
6
6
  Author: Google Civics
@@ -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=cFTeQ0X60Ufbo2BSQw_7UWmy1XIc-g5iLEipVVOQn1E,164594
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=gOih757K1QaZHOXl2wSgtBfNAfZvyLWGY2TD9-COoZ4,188
10
- civics_cdf_validator-1.52.dev3.dist-info/licenses/LICENSE-2.0.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
11
- civics_cdf_validator-1.52.dev3.dist-info/METADATA,sha256=IP4dv8QV-Eh4UX-uyPqPnjt7543UjdtijGeOcxptBds,1008
12
- civics_cdf_validator-1.52.dev3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- civics_cdf_validator-1.52.dev3.dist-info/entry_points.txt,sha256=QibgvtMOocwDi7fQ1emgMJ2lIlI41sW0__KIQdnVn90,77
14
- civics_cdf_validator-1.52.dev3.dist-info/top_level.txt,sha256=PYT5Eclxbop5o6DJIcgs4IeU6Ds5jqyftjoFbgkkJYo,21
15
- civics_cdf_validator-1.52.dev3.dist-info/RECORD,,
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,,