All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 def function(**kwargs):
6 def function_replace_spaces(**kwargs):
7 t = a **2 + b** 3 + c ** 4
10 def function_dont_replace_spaces():
18 e = lazy(lambda **kwargs: 5)
24 k = [(2**idx, value) for idx, value in pairs]
25 l = mod.weights_[0] == pytest.approx(0.95**100, abs=0.001)
26 m = [([2**63], [1, 2**63])]
28 o = settings(max_examples=10**6)
29 p = {(k, k**2): v**2 for k, v in pairs}
30 q = [10**i for i in range(6)]
44 e = lazy(lambda **kwargs: 5)
49 j = super().name ** 5.0
50 k = [(2.0**idx, value) for idx, value in pairs]
51 l = mod.weights_[0] == pytest.approx(0.95**100, abs=0.001)
52 m = [([2.0**63.0], [1.0, 2**63.0])]
54 o = settings(max_examples=10**6.0)
55 p = {(k, k**2): v**2.0 for k, v in pairs}
56 q = [10.5**i for i in range(6)]
66 # WE SHOULD DEFINITELY NOT EAT THESE COMMENTS (https://github.com/psf/black/issues/2873)
67 if hasattr(view, "sum_of_weights"):
68 return np.divide( # type: ignore[no-any-return]
69 view.variance, # type: ignore[union-attr]
70 view.sum_of_weights, # type: ignore[union-attr]
71 out=np.full(view.sum_of_weights.shape, np.nan), # type: ignore[union-attr]
72 where=view.sum_of_weights**2 > view.sum_of_weights_squared, # type: ignore[union-attr]
76 where=view.sum_of_weights_of_weight_long**2 > view.sum_of_weights_squared, # type: ignore
83 def function(**kwargs):
88 def function_replace_spaces(**kwargs):
89 t = a**2 + b**3 + c**4
92 def function_dont_replace_spaces():
100 e = lazy(lambda **kwargs: 5)
105 j = super().name ** 5
106 k = [(2**idx, value) for idx, value in pairs]
107 l = mod.weights_[0] == pytest.approx(0.95**100, abs=0.001)
108 m = [([2**63], [1, 2**63])]
110 o = settings(max_examples=10**6)
111 p = {(k, k**2): v**2 for k, v in pairs}
112 q = [10**i for i in range(6)]
121 e = lazy(lambda **kwargs: 5)
126 j = super().name ** 5.0
127 k = [(2.0**idx, value) for idx, value in pairs]
128 l = mod.weights_[0] == pytest.approx(0.95**100, abs=0.001)
129 m = [([2.0**63.0], [1.0, 2**63.0])]
131 o = settings(max_examples=10**6.0)
132 p = {(k, k**2): v**2.0 for k, v in pairs}
133 q = [10.5**i for i in range(6)]
135 t = 1.0**1.0**1.0**1.0
138 # WE SHOULD DEFINITELY NOT EAT THESE COMMENTS (https://github.com/psf/black/issues/2873)
139 if hasattr(view, "sum_of_weights"):
140 return np.divide( # type: ignore[no-any-return]
141 view.variance, # type: ignore[union-attr]
142 view.sum_of_weights, # type: ignore[union-attr]
143 out=np.full(view.sum_of_weights.shape, np.nan), # type: ignore[union-attr]
144 where=view.sum_of_weights**2 > view.sum_of_weights_squared, # type: ignore[union-attr]
148 where=view.sum_of_weights_of_weight_long**2 > view.sum_of_weights_squared, # type: ignore