We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The readme nicely demonstrates how to run the type checks: mypy {{ cookiecutter.project_slug }}
mypy {{ cookiecutter.project_slug }}
However, this doesn't work when working with docker. For pycharm user, the following run configuration will be helpful
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="mypy" type="PythonConfigurationType" factoryName="Python"> <module name="{{ cookiecutter.project_slug }}" /> <option name="INTERPRETER_OPTIONS" value="" /> <option name="PARENT_ENVS" value="true" /> <envs> <env name="PYTHONUNBUFFERED" value="1" /> </envs> <option name="SDK_HOME" value="docker-compose://[$PROJECT_DIR$/local.yml]:django/python" /> <option name="WORKING_DIRECTORY" value="" /> <option name="IS_MODULE_SDK" value="false" /> <option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <option name="SCRIPT_NAME" value="mypy" /> <option name="PARAMETERS" value="{{ cookiecutter.project_slug }}" /> <option name="SHOW_COMMAND_LINE" value="false" /> <option name="EMULATE_TERMINAL" value="false" /> <option name="MODULE_MODE" value="true" /> <option name="REDIRECT_INPUT" value="false" /> <option name="INPUT_FILE" value="" /> <method v="2" /> </configuration> </component>
The text was updated successfully, but these errors were encountered:
Err for docker-compose, are't you just prepending docker-compose -f local.yml run django mypy?
docker-compose -f local.yml run django mypy
Sorry, something went wrong.
No branches or pull requests
Description
The readme nicely demonstrates how to run the type checks:
mypy {{ cookiecutter.project_slug }}
However, this doesn't work when working with docker. For pycharm user, the following run configuration will be helpful
The text was updated successfully, but these errors were encountered: