Skip to content

Commit ecc7404

Browse files
authored
Merge pull request #230 from pandas-dev/master
Sync Fork from Upstream Repo
2 parents 7f5489e + b72b6b2 commit ecc7404

File tree

4 files changed

+41
-59
lines changed

4 files changed

+41
-59
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ trigger:
99
- 'doc/*'
1010

1111
pr:
12-
- master
13-
- 1.2.x
14-
- 1.3.x
12+
autoCancel: true
13+
branches:
14+
include:
15+
- master
16+
- 1.3.x
1517

1618
variables:
1719
PYTEST_WORKERS: auto

doc/source/user_guide/visualization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ Starting in version 0.25, pandas can be extended with third-party plotting backe
17401740
main idea is letting users select a plotting backend different than the provided
17411741
one based on Matplotlib.
17421742

1743-
This can be done by passsing 'backend.module' as the argument ``backend`` in ``plot``
1743+
This can be done by passing 'backend.module' as the argument ``backend`` in ``plot``
17441744
function. For example:
17451745

17461746
.. code-block:: python

pyproject.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,38 @@ markers = [
6767
"arm_slow: mark a test as slow for arm64 architecture",
6868
"arraymanager: mark a test to run with ArrayManager enabled",
6969
]
70+
71+
[tool.mypy]
72+
platform = "linux-64"
73+
ignore_missing_imports = true
74+
no_implicit_optional = true
75+
check_untyped_defs = true
76+
strict_equality = true
77+
warn_redundant_casts = true
78+
warn_unused_ignores = true
79+
show_error_codes = true
80+
81+
[[tool.mypy.overrides]]
82+
module = [
83+
"pandas.tests.*",
84+
"pandas._version",
85+
"pandas.io.clipboard",
86+
]
87+
check_untyped_defs = false
88+
89+
[[tool.mypy.overrides]]
90+
module = [
91+
"pandas.tests.apply.test_series_apply",
92+
"pandas.tests.arithmetic.conftest",
93+
"pandas.tests.arrays.sparse.test_combine_concat",
94+
"pandas.tests.dtypes.test_common",
95+
"pandas.tests.frame.methods.test_to_records",
96+
"pandas.tests.groupby.test_rank",
97+
"pandas.tests.groupby.transform.test_transform",
98+
"pandas.tests.indexes.interval.test_interval",
99+
"pandas.tests.indexing.test_categorical",
100+
"pandas.tests.io.excel.test_writers",
101+
"pandas.tests.reductions.test_reductions",
102+
"pandas.tests.test_expressions",
103+
]
104+
ignore_errors = true

setup.cfg

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -205,58 +205,3 @@ force_grid_wrap = True
205205
force_sort_within_sections = True
206206
skip_glob = env,
207207
skip = pandas/__init__.py
208-
209-
[mypy]
210-
platform = linux-64
211-
ignore_missing_imports = True
212-
no_implicit_optional = True
213-
check_untyped_defs = True
214-
strict_equality = True
215-
warn_redundant_casts = True
216-
warn_unused_ignores = True
217-
show_error_codes = True
218-
219-
[mypy-pandas.tests.*]
220-
check_untyped_defs = False
221-
222-
[mypy-pandas._version]
223-
check_untyped_defs = False
224-
225-
[mypy-pandas.io.clipboard]
226-
check_untyped_defs = False
227-
228-
[mypy-pandas.tests.apply.test_series_apply]
229-
ignore_errors = True
230-
231-
[mypy-pandas.tests.arithmetic.conftest]
232-
ignore_errors = True
233-
234-
[mypy-pandas.tests.arrays.sparse.test_combine_concat]
235-
ignore_errors = True
236-
237-
[mypy-pandas.tests.dtypes.test_common]
238-
ignore_errors = True
239-
240-
[mypy-pandas.tests.frame.methods.test_to_records]
241-
ignore_errors = True
242-
243-
[mypy-pandas.tests.groupby.test_rank]
244-
ignore_errors = True
245-
246-
[mypy-pandas.tests.groupby.transform.test_transform]
247-
ignore_errors = True
248-
249-
[mypy-pandas.tests.indexes.interval.test_interval]
250-
ignore_errors = True
251-
252-
[mypy-pandas.tests.indexing.test_categorical]
253-
ignore_errors = True
254-
255-
[mypy-pandas.tests.io.excel.test_writers]
256-
ignore_errors = True
257-
258-
[mypy-pandas.tests.reductions.test_reductions]
259-
ignore_errors = True
260-
261-
[mypy-pandas.tests.test_expressions]
262-
ignore_errors = True

0 commit comments

Comments
 (0)