[openpyxl] Update to 3.1.4 (#12142)

Also make sequence types generic
This commit is contained in:
Sebastian Rittau
2024-06-20 11:29:14 +02:00
committed by GitHub
parent dc504f5175
commit 704fa5d1de
25 changed files with 185 additions and 233 deletions
+10 -13
View File
@@ -1,7 +1,3 @@
# Loop variables leaked in global scope
openpyxl.utils.cell.col
openpyxl.utils.cell.i
# Unintended re-export from star-import
openpyxl.chart.marker.DRAWING_NS
openpyxl.chart.marker.PRESET_COLORS
@@ -21,13 +17,22 @@ openpyxl.xml.functions.tostring
openpyxl.utils.dataframe
# Fake getters
openpyxl\.descriptors\..*\.__get__
openpyxl.descriptors.(base.)?Descriptor.__get__
openpyxl.descriptors.(base.)?MatchPattern.__get__
openpyxl.descriptors.(base.)?Typed.__get__
openpyxl.descriptors.nested.EmptyTag.__get__
openpyxl.descriptors.nested.Nested.__get__
openpyxl.descriptors.nested.NestedMinMax.__get__
openpyxl.descriptors.nested.NestedText.__get__
openpyxl.descriptors.nested.NestedValue.__get__
# Stubtest sees <class T> and type[T] as different: https://github.com/python/mypy/issues/13316
openpyxl.chart.descriptors.NumberFormatDescriptor.expected_type
openpyxl.chart.title.TitleDescriptor.expected_type
openpyxl.drawing.colors.ColorChoiceDescriptor.expected_type
openpyxl.packaging.relationship.RelationshipList.expected_type
openpyxl.styles.colors.ColorDescriptor.expected_type
openpyxl.styles.fills.StopList.expected_type
# Stubtest doesn't like generics here
openpyxl\.descriptors\.(base\.)?Bool\.allow_none
@@ -126,24 +131,16 @@ openpyxl.pivot.cache.CacheHierarchy.__init__
openpyxl.pivot.cache.CacheSource.__init__
openpyxl.pivot.cache.CalculatedItem.__init__
openpyxl.pivot.cache.CalculatedMember.__init__
openpyxl.pivot.cache.DiscretePr.__init__
openpyxl.pivot.cache.FieldsUsage.__init__
openpyxl.pivot.cache.FieldUsage.__init__
openpyxl.pivot.cache.GroupLevel.__init__
openpyxl.pivot.cache.GroupLevels.__init__
openpyxl.pivot.cache.GroupMember.__init__
openpyxl.pivot.cache.GroupMembers.__init__
openpyxl.pivot.cache.Groups.__init__
openpyxl.pivot.cache.LevelGroup.__init__
openpyxl.pivot.cache.MeasureGroup.__init__
openpyxl.pivot.cache.OLAPSet.__init__
openpyxl.pivot.cache.OLAPSets.__init__
openpyxl.pivot.cache.PageItem.__init__
openpyxl.pivot.cache.PCDKPI.__init__
openpyxl.pivot.cache.PCDSDTCEntries.__init__
openpyxl.pivot.cache.PivotDimension.__init__
openpyxl.pivot.cache.Query.__init__
openpyxl.pivot.cache.QueryCache.__init__
openpyxl.pivot.cache.RangeSet.__init__
openpyxl.pivot.fields.Error.__init__
openpyxl.pivot.fields.Number.__init__