-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Fix mypy errors in testcommon py #29179
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
WillAyd
merged 114 commits into
pandas-dev:master
from
HawkinsBA:Fix-mypy-errors-in-test-common-py
Nov 7, 2019
Merged
Changes from 111 commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
b34fc3b
Replacing list concatenation with "+"
a266c69
Update test_common.py
4d27ef2
Update test_common.py
c208bbe
BUG: Fix TypeError in _cython_agg_blocks (#29035)
jbrockmendel 0e556c2
CI: xfail on numpy 1.18 (#29057)
jbrockmendel 2cfc88f
Stop catching TypeError in groupby methods (#29060)
jbrockmendel 7b8c744
API: Restore getting name from MultiIndex level (#29061)
TomAugspurger 5fbbe9e
fixed issue of mypy for test_ujson (#29022)
iamrajhans 5506b82
CLN: derivation of nogil param (#29047)
jbrockmendel ad01c8b
REF: remove groupby_helper (#29040)
jbrockmendel 2d2f220
ENH: Informative dtype message for for assert_series_equal (#28993)
moi90 009ffc4
TST: add regression test for all-none-groupby (#29067)
crepererum 3940401
Fix mypy errors for pandas\tests\*: test_convert_to.py (#28965)
lrm25 b106ef3
CLN: catch less in groupby (#29077)
jbrockmendel 429ed6e
CLN: simplify take_2d_multi (#29065)
jbrockmendel ac4469c
REF: use fused types in algos_rank_helper (#29044)
jbrockmendel 1939942
DOC: updated categorical docstring (#29068)
javad94 6ce48d9
CLN: tighten exception catching in indexes (#29078)
jbrockmendel b036967
[#22550] Remove TestData from series-tests test_quantile.py (#29096)
SaturnFromTitan ac45185
comments, catch less (#29088)
jbrockmendel 6c93ef1
REF: remove algos_rank_helper (#29086)
jbrockmendel a8cbd11
CLN: Exception in DataFrame._reduce (#29085)
jbrockmendel 1f20f63
[#22550] Remove TestData from series-tests test_operators.py (#29084)
SaturnFromTitan d5f430a
TST: 2d index when constructing dataframe (#25416). (#29083)
jhereth 78d3420
TST: regression test for groupby with datetime and timedelta (#15562)…
jhereth 0f93b07
CLN: cython and docstring cleanups (#29089)
jbrockmendel 1846dc6
BUG: parse_time_string failing to raise TypeError (#29098)
jbrockmendel 1f49aa8
Add a regression test for the timezone issue (#29097)
grigoriosgiann 08d66f3
Fix typing errors (#29115)
AbhijeetKrishnan 140102b
Fix typing errors (#29114)
AbhijeetKrishnan c8dd72a
Fix mypy errors (#29108)
AbhijeetKrishnan 3c80277
fix #28926 mypy error in pandas\tests\arrays\test_array.py (#28970)
yogendrasoni 1e12510
TST: Test key dtype cast after merge (#29030)
albertvillanova 06ba9f5
CLN: Type error fix in tests\tseries\offsets\test_yqm_offsets.py (#28…
lukasbk 4892735
CLN: Type error fix in tests\tseries\offsets\test_yqm_offsets.py (#28…
lukasbk f992870
PERF: Benchmark merge with non-int64 and tolerance (#28922) (#28974)
jjlkant c4f0b5c
Pandas get_dummies validate `columns` input (#28463)
R1j1t 4feb8ac
fix Rolling for multi-index and reversed index. (#28297)
leftys cf22fcb
BUG: set_precision format fixed (#13257) (#27934)
AntonioAndraues 217358f
WEB: Adding new pandas logo (#28948)
datapythonista 46af140
CLN: remove versionadded:: 0.19.0 and earlier (#29127)
simonjayhawkins bd64ab7
CLN: remove versionadded:: 0.20 (#29126)
simonjayhawkins d63cfa2
BUG: fix AttributeError raised in libreduction (#29100)
jbrockmendel d9750c1
REF: avoid getattr pattern for rank_1d, rank_2d (#29137)
jbrockmendel 3df6488
REF: avoid getattr pattern for diff_2d; use fused types (#29120)
jbrockmendel d449b73
REF: avoid getattr pattern for unstack, assorted cleanups (#29121)
jbrockmendel 19f76cd
REF: avoid getattr pattern for join_indexer (#29117)
jbrockmendel 4ff76bd
Remove TestData from series-tests test_replace.py (#29147)
SaturnFromTitan f9020a2
TST: stop suppressing plot test exceptions, xfail broken test (#29099)
jbrockmendel 49bb2e1
TST: Add regression test for Series dropping uint datatype (#18311) (…
Reksbril 2833cb4
CLN: Exception in NDFrame._maybe_update_cacher (#29066)
jbrockmendel 219d18c
REF: Store metadata in an attrs dict (#29062)
TomAugspurger c594594
Remove TestData from series-tests test_sorting.py (#29149)
SaturnFromTitan 1707f2a
Remove TestData from series-tests test_timeseries.py (#29150)
SaturnFromTitan 4dc532f
minor inconsistency in Categorical.remove_categories error message (#…
punndcoder28 a0446b0
Remove TestData from series-tests test_api.py (#29153)
SaturnFromTitan 38b923a
CLN: replace Dict with Mapping to annotate arguments (#29155)
simonjayhawkins 5ce7b1a
DOC: attempt to fix contributors for 0.24.0, 0.25.0/1/2 (#29152)
jgehrcke 052a64a
Remove unnecessary check for Python >= 3.5 (#29167)
gfyoung 41933cc
REF: avoid getattr pattern for groupby-rank functions (#29166)
jbrockmendel 22a8337
TYPING : Series.name -> Optional[Hashable] (#29164)
simonjayhawkins 586a9e7
Clarify referred command for flake8 caveat (#29168)
gfyoung 1e9a047
CLN: Fix typing in pandas\tests\arrays\test_datetimelike.py (#28926) …
jjlkant 3fbb0bc
BUG: fix TypeError raised in maybe_downcast_numeric (#29103)
jbrockmendel cc93fdc
Stop catching TypeError in _aggregate_item_by_item (#29177)
jbrockmendel 1979625
CLN: Assorted cleanups (#29175)
jbrockmendel dd5d1c5
Remove TestData from series-tests test_repr.py (#29148)
SaturnFromTitan 091bb06
BUG/TST: ensure groupby.agg preserves extension dtype (#29144)
jorisvandenbossche 6983800
Period 29073 (#29159)
HughKelley 9a98680
TST: Test Series integer mod behavior on string (#29180)
gfyoung 0aa913e
To string with encoding (#28951)
mohitanand001 b634636
DOC: Update the LaTeX author. (#29184)
TomAugspurger 4879491
TST: Document and test na_filter in read_excel (#29171)
gfyoung bec7043
CI: Avoid timeouts in 38 build (#29185)
WillAyd eda17f9
BUG: Increase range of dates for holiday calculations (#27790)
rhstanton c56d68a
CLN: preempt TypeError for EAs in groupby agg_series (#29186)
jbrockmendel 051e152
CLN: dont catch Exception in _aggregate_frame (#29194)
jbrockmendel fbe52f8
CLN: remove Block._try_coerce_arg (#29139)
jbrockmendel 96833c3
Remove TestData from series-tests test_rank.py (#29101)
SaturnFromTitan cfd0bb3
CLN: remove noqa E241 #29207 (#29209)
kaathi524 8d9005d
API: Change matplotlib formatter registration (#28722)
TomAugspurger cb4130b
Remove TestData in frame tests in multiple files - part2 (#29222)
SaturnFromTitan 5ea715e
CLN: Remove unnecessary sys.version_info checks (#29210)
gfyoung a05829b
Remove TestData in frame tests in multiple files (#29172)
SaturnFromTitan 4abe6d8
BUG: fix non-existent variable in NDFrame.interpolate (#29142)
ellequelle 4d519f9
ENH: Add StringArray.__arrow_array__ for conversion to Arrow (#29182)
jorisvandenbossche 08cf353
CLN: Add types in a handful of places (#29178)
jbrockmendel f2c42dc
Changing logo in README and removing old logo (#29215)
datapythonista 946781d
ENH: groupby missing data in index (#28097)
proost 291afc3
TST: Add test for nested JSON normalization (#29225)
gfyoung a23a589
BUG: fixes formatted value error for missing sheet (#27676) (#27677)
JasperVanDenBosch 8f9769c
CLN: AttributeError in _wrap_applied_output (#29195)
jbrockmendel adfd4de
CLN: simplify core.algorithms (#29199)
jbrockmendel 58aa92b
Update apt-get archives (#29230)
WillAyd 53cc892
Removed raise_from_traceback (#29174)
WillAyd 846bf91
CLN: remove simplejson (#29169)
simonjayhawkins 0d69e54
BENCH: Improve perf of rolling.Apply.time_rolling (#29239)
qwhelan c1f19f2
CLN: remove algorithms.match (#29249)
jbrockmendel c006074
CLN: fix mypy errors in pandas\tests\indexes\interval\test_base.py #2…
srcole 6758c4d
Merge remote-tracking branch 'upstream/master' into Fix-mypy-errors-i…
8c143b6
Update setup.cfg
9708036
Update test_common.py
84fe5d0
Applied black formatting to test_common.py
e92a6eb
Update test_common.py
ca180a6
Update test_common.py
d21b9b2
Update test_common.py
0dc0cc5
Updating type annotation in test_common.py
05f3b16
Remove unused import from test_common.py
8d21fe0
Trying to fix Azure Pipelines
a3eea24
Replacing List with Sequence and removing Any
d01d5bb
Applying black formatting
3f37553
Replaciing type stubs with List
3ba0b50
Remove unused import from test_common.py
1fe031d
Merge remote-tracking branch 'upstream/master' into Fix-mypy-errors-i…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I think just
type: List
will be fine for these