Skip to content

Commit 810df40

Browse files
WillAydjreback
authored andcommitted
Remove yapf references (#30243)
1 parent e71d04a commit 810df40

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

pandas/core/ops/methods.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def _create_methods(cls, arith_method, comp_method, bool_method, special):
162162
have_divmod = issubclass(cls, ABCSeries)
163163
# divmod is available for Series
164164

165-
# yapf: disable
166165
new_methods = dict(
167166
add=arith_method(cls, operator.add, special),
168167
radd=arith_method(cls, radd, special),
@@ -181,8 +180,8 @@ def _create_methods(cls, arith_method, comp_method, bool_method, special):
181180
rtruediv=arith_method(cls, rtruediv, special),
182181
rfloordiv=arith_method(cls, rfloordiv, special),
183182
rpow=arith_method(cls, rpow, special),
184-
rmod=arith_method(cls, rmod, special))
185-
# yapf: enable
183+
rmod=arith_method(cls, rmod, special),
184+
)
186185
new_methods["div"] = new_methods["truediv"]
187186
new_methods["rdiv"] = new_methods["rtruediv"]
188187
if have_divmod:

setup.cfg

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ ignore = E402, # module level import not at top of file
4949
exclude =
5050
doc/source/development/contributing_docstring.rst
5151

52-
53-
[yapf]
54-
based_on_style = pep8
55-
split_before_named_assigns = false
56-
split_penalty_after_opening_bracket = 1000000
57-
split_penalty_logical_operator = 30
58-
5952
[tool:pytest]
6053
# sync minversion with setup.cfg & install.rst
6154
minversion = 4.0.2

0 commit comments

Comments
 (0)