1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

fomrat using black

This commit is contained in:
Jin Yong Yoo
2020-06-19 07:02:24 -04:00
parent 347f5356a1
commit ec43be52a1
2 changed files with 3 additions and 3 deletions

View File

@@ -28,9 +28,7 @@ setuptools.setup(
"wandb*",
]
),
entry_points = {
'console_scripts': ['textattack=textattack.__main__:main'],
},
entry_points={"console_scripts": ["textattack=textattack.__main__:main"],},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",

View File

@@ -13,6 +13,7 @@ from textattack.shared.scripts.run_attack_single_threaded import (
run as run_single_threaded,
)
def main():
args = get_args()
if args.parallel:
@@ -20,5 +21,6 @@ def main():
else:
run_single_threaded(args)
if __name__ == "__main__":
main()