10000 TYP: typing errors in _xlsxwriter.py #35994 by fangchenli · Pull Request #35995 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TYP: typing errors in _xlsxwriter.py #35994 #35995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 31, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TYP: add param type
  • Loading branch information
fangchenli committed Aug 30, 2020
commit f21a1890ca1e3ff89cbdfdf79269424a5b58b098
4 changes: 2 additions & 2 deletions pandas/io/excel/_xlsxwriter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Dict
from typing import Dict, List, Tuple

import pandas._libs.json as json

Expand All @@ -10,7 +10,7 @@ class _XlsxStyler:
# Map from openpyxl-oriented styles to flatter xlsxwriter representation
# Ordering necessary for both determinism and because some are keyed by
# prefixes of others.
STYLE_MAPPING: Dict[str, list] = {
STYLE_MAPPING: Dict[str, List[Tuple[Tuple[str, ...], str]]] = {
"font": [
(("name",), "font_name"),
(("sz",), "font_size"),
Expand Down
0