Updated for pre-commit hooks
This commit is contained in:
parent
4934ac347d
commit
c873ec2dcf
2 changed files with 2 additions and 9 deletions
|
|
@ -52,11 +52,7 @@ class Shell:
|
||||||
|
|
||||||
for index, selection in enumerate(selections):
|
for index, selection in enumerate(selections):
|
||||||
options.append(
|
options.append(
|
||||||
{
|
{"selector": str(index + 1), "prompt": selection, "return": index + 1,}
|
||||||
"selector": str(index + 1),
|
|
||||||
"prompt": selection,
|
|
||||||
"return": index + 1,
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
return prompt.options(message, options)
|
return prompt.options(message, options)
|
||||||
|
|
||||||
|
|
|
||||||
5
setup.py
5
setup.py
|
|
@ -34,10 +34,7 @@ setup(
|
||||||
# Author details
|
# Author details
|
||||||
author="Adafruit Industries",
|
author="Adafruit Industries",
|
||||||
author_email="circuitpython@adafruit.com",
|
author_email="circuitpython@adafruit.com",
|
||||||
install_requires=[
|
install_requires=["clint", "Adafruit-PlatformDetect",],
|
||||||
"clint",
|
|
||||||
"Adafruit-PlatformDetect",
|
|
||||||
],
|
|
||||||
# Choose your license
|
# Choose your license
|
||||||
license="MIT",
|
license="MIT",
|
||||||
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue