Fix scaffold.py (#3270)

* upgrade prompt-toolkit to make scaffold.py work

* update append_mock_to_init_py

* enable to run when method name is not upper camel case

* support new moto/backend.py format

* use prompt-toolkit 2.x.x to support python2

* fix invalid initialization of moto/backends.py
This commit is contained in:
Toshiya Kawasaki 2020-09-01 19:44:13 +09:00 committed by GitHub
commit 127b3e73e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 28 deletions

View file

@ -12,7 +12,7 @@ boto3>=1.4.4
botocore>=1.15.13
six>=1.9
parameterized>=0.7.0
prompt-toolkit==1.0.14
prompt-toolkit==2.0.10 # 3.x is not available with python2
click==6.7
inflection==0.3.1
lxml==4.2.3