civics-cdf-validator 1.51.dev2__py3-none-any.whl → 1.52.dev0__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.
@@ -4376,9 +4376,9 @@ class FeedHasValidCountryCode(base.BaseRule):
4376
4376
  )
4377
4377
  else:
4378
4378
  feed_type = element.find("FeedType")
4379
- if (
4380
- element_has_text(feed_type)
4381
- and feed_type.text.lower().replace("_", "-") == "election-dates"
4379
+ if element_has_text(feed_type) and (
4380
+ feed_type.text.lower().replace("_", "-") == "election-dates"
4381
+ or feed_type.text.lower().replace("_", "-") == "voter-information"
4382
4382
  ):
4383
4383
  return
4384
4384
  raise loggers.ElectionError.from_message(
@@ -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.51.dev2'
8
+ __version__ = '1.52.dev0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: civics_cdf_validator
3
- Version: 1.51.dev2
3
+ Version: 1.52.dev0
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=8DaN_Nl8rktzytKXDHYF6a7Mn40CH2_868QYd9yAEMg,164418
6
+ civics_cdf_validator/rules.py,sha256=w9jS6mcjkc6H6mvtzYWRtPM1mckxfwKjxaMEScQ87Eg,164485
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=87AXFpTJ1hrhSUUhllKeGHHGhn9d9Au4SK8_sg8UBx4,188
10
- civics_cdf_validator-1.51.dev2.dist-info/licenses/LICENSE-2.0.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
11
- civics_cdf_validator-1.51.dev2.dist-info/METADATA,sha256=ejiB2jCK-iFDzDTZ_hjWSRSRqkuPqtKB-f2Sc6V8pOw,1008
12
- civics_cdf_validator-1.51.dev2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- civics_cdf_validator-1.51.dev2.dist-info/entry_points.txt,sha256=QibgvtMOocwDi7fQ1emgMJ2lIlI41sW0__KIQdnVn90,77
14
- civics_cdf_validator-1.51.dev2.dist-info/top_level.txt,sha256=PYT5Eclxbop5o6DJIcgs4IeU6Ds5jqyftjoFbgkkJYo,21
15
- civics_cdf_validator-1.51.dev2.dist-info/RECORD,,
9
+ civics_cdf_validator/version.py,sha256=Xd9wPs_iDLxgqQQOaxJ8o5Qvip0HRLloQCdROaP8zeo,188
10
+ civics_cdf_validator-1.52.dev0.dist-info/licenses/LICENSE-2.0.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
11
+ civics_cdf_validator-1.52.dev0.dist-info/METADATA,sha256=sUZspH75ei5l_kZhL5mi_XSdx0r4Cwqh8_2FHzv1jh8,1008
12
+ civics_cdf_validator-1.52.dev0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ civics_cdf_validator-1.52.dev0.dist-info/entry_points.txt,sha256=QibgvtMOocwDi7fQ1emgMJ2lIlI41sW0__KIQdnVn90,77
14
+ civics_cdf_validator-1.52.dev0.dist-info/top_level.txt,sha256=PYT5Eclxbop5o6DJIcgs4IeU6Ds5jqyftjoFbgkkJYo,21
15
+ civics_cdf_validator-1.52.dev0.dist-info/RECORD,,