Skip to content

Commit a552ba4

Browse files
committed
rm indents from numpy style
1 parent 4be5a2a commit a552ba4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

styles/numpy-class.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{% if attr|len > 0 %}
33
Attributes
44
----------
5-
{% for a in attr %}{{indent}}{{a}} :
5+
{% for a in attr %}{{a}} :
66
{% endfor %}{% endif %}
77
"""

styles/numpy-method.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
{% if args|len > 0 %}
33
Parameters
44
----------
5-
{% for a in args %}{{indent}}{{a.arg}} :{% if hints and a.type %} {{a.type}}{% endif %}
5+
{% for a in args %}{{a.arg}} :{% if hints and a.type %} {{a.type}}{% endif %}
66
{% endfor %}{% endif %}{% if returns %}
77
Returns
88
-------
9-
{{indent}}
109
{% endif %}{% if yields %}
1110
Yields
1211
------
13-
{{indent}}
1412
{% endif %}{% if raises|len > 0 %}
1513
Raises
1614
------
17-
{% for a in raises %}{{indent}}{{a}} :
15+
{% for a in raises %}{{a}} :
1816
{% endfor %}{% endif %}
1917
"""

0 commit comments

Comments
 (0)