Commit
Remove trailing whitespaces
Daniel Moch committed 5 years ago
(
Tree)
Diffstat
{{cookiecutter.project_slug}}/LICENSE | 4
{{cookiecutter.project_slug}}/pyproject.toml | 6
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py | 2
{{cookiecutter.project_slug}}/LICENSE
20 |
20 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
21 |
21 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
22 |
22 |
SOFTWARE. |
23 |
|
-{% elif cookiecutter.open_source_license == 'BSD license' %} |
|
23 |
+{% elif cookiecutter.open_source_license == 'BSD license' -%} |
24 |
24 |
|
25 |
25 |
BSD License |
26 |
26 |
|
|
|
. . . |
108 |
108 |
the library. If this is what you want to do, use the GNU Lesser General |
109 |
109 |
Public License instead of this License. But first, please read |
110 |
110 |
<http://www.gnu.org/philosophy/why-not-lgpl.html>. |
111 |
|
-{% endif %} |
|
111 |
+{% endif -%} |
{{cookiecutter.project_slug}}/pyproject.toml
10 |
10 |
description-file = "README.md" |
11 |
11 |
{% if cookiecutter.open_source_license == 'MIT license' -%} |
12 |
12 |
classifiers = ["License :: OSI Approved :: MIT License"] |
13 |
|
-{% elif cookiecutter.open_source_license == 'BSD license' %} |
|
13 |
+{% elif cookiecutter.open_source_license == 'BSD license' -%} |
14 |
14 |
classifiers = ["License :: OSI Approved :: BSD License"] |
15 |
15 |
{% elif cookiecutter.open_source_license == 'ISC license' -%} |
16 |
16 |
classifiers = ["License :: OSI Approved :: ISC License (ISCL)"] |
|
|
. . . |
18 |
18 |
classifiers = ["License :: OSI Approved :: Apache Software License"] |
19 |
19 |
{% elif cookiecutter.open_source_license == 'GNU General Public License v3' -%} |
20 |
20 |
classifiers = ["License :: OSI Approved :: GNU General Public License v3 (GPLv3)"] |
21 |
|
-{% endif %} |
|
21 |
+{% endif -%} |
22 |
22 |
{% if cookiecutter.script_entrypoint == 'y' -%} |
23 |
23 |
|
24 |
24 |
[tool.flit.scripts] |
25 |
25 |
{{ cookiecutter.project_slug }} = "{{cookiecutter.project_slug}}:main" |
26 |
|
-{% endif %} |
|
26 |
+{% endif -%} |
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py
17 |
17 |
parser.add_argument( |
18 |
18 |
'-v', action='version', |
19 |
19 |
version='%(prog)s {}'.format(__version__)) |
20 |
|
-{% endif %} |
|
20 |
+{% endif -%} |