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:
4
setup.py
4
setup.py
@@ -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",
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user