1. Install mypy
$ pip install -U mypy
2. Install PyCharm mypy plugin
- Plugins > Marketplace > Mypy
3. Set path to mypy in mypy plugin settings
- Preferences > Mypy > Path (And Test)
4. Install boto3-stubs with boto3 services you use
$ python -m pip install 'boto3-stubs[s3,athena]'
참고 :
https://pypi.org/project/boto3-stubs/#installation
PyCharm boto3 autocomplete
2020. 2. 27. 12:03