Open fietew opened 4 years ago
The machine is complaining:
$ python3 -m pycodestyle sfs/fd/source.py
sfs/fd/source.py:227:1: E302 expected 2 blank lines, found 1
sfs/fd/source.py:254:39: W291 trailing whitespace
sfs/fd/source.py:257:9: W291 trailing whitespace
$ python3 -m pycodestyle sfs/util.py
sfs/util.py:580:1: E302 expected 2 blank lines, found 1
And https://travis-ci.org/sfstoolbox/sfs-python/jobs/615577318 contains:
/home/travis/build/sfstoolbox/sfs-python/sfs/fd/source.py:docstring of sfs.fd.source.point_circular_piston:20: WARNING: Explicit markup ends without a blank line; unexpected unindent.
Note that the line number is meant within the docstring.
I guess the problem is a missing blank line before Returns
.
Adds new source type with far-field directivity of circular piston radiator