Skip to content

Commit

Permalink
I didn't expect a kind of PEP8 inquisition
Browse files Browse the repository at this point in the history
  • Loading branch information
mp4096 committed Mar 26, 2017
1 parent 08f852e commit 737b8dd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
14 changes: 9 additions & 5 deletions generate_boilerplate.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import argparse
from blockschaltbilder import *
from blockschaltbilder import convert_to_tikz

if __name__ == '__main__':
parser = argparse.ArgumentParser(description="Convert *.bsb file(s) into boilerplate TikZ file(s).")
parser.add_argument("paths", metavar="p", type=str, nargs='*', default=".",
help="""specifies the location of files or folders to be converted
(default: convert all in the current folder and it subfolders)""")
parser = argparse.ArgumentParser(
description="Convert *.bsb file(s) into boilerplate TikZ file(s).",
)
parser.add_argument(
"paths", metavar="p", type=str, nargs='*', default=".",
help="""specifies the location of files or folders to be converted
(default: convert all in the current folder and it subfolders)""",
)
args = parser.parse_args()
convert_to_tikz(args.paths)
23 changes: 12 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
from setuptools import setup


setup(name="Blockschaltbilder",
version="0.1",
description="Blockschaltbilder: Boilerplate code generator",
author="Mikhail Pak",
author_email="mikhail.pak@tum.de",
url="https://github.com/mp4096/blockschaltbilder",
packages=["blockschaltbilder"],
install_requires=["numpy"],
license="MIT",
test_suite="blockschaltbilder.tests",
)
setup(
name="Blockschaltbilder",
version="0.1",
description="Blockschaltbilder: Boilerplate code generator",
author="Mikhail Pak",
author_email="mikhail.pak@tum.de",
url="https://github.com/mp4096/blockschaltbilder",
packages=["blockschaltbilder"],
install_requires=["numpy"],
license="MIT",
test_suite="blockschaltbilder.tests",
)

0 comments on commit 737b8dd

Please sign in to comment.