Type check with mypy

Strict static type checking for a package

mypy --strict --ignore-missing-imports src/

tool
python15 commands
tags
pythondebug

More python commands

  • python3 -c "import json; print([x for x in dir(json) if not x.startswith('_')])"

    List public attributes of any Python object

  • python3 -m venv .venv && source .venv/bin/activate

    Create and activate an isolated Python environment

  • pip install -r requirements.txt --no-cache-dir

    Install dependencies without using pip cache

  • pip freeze > requirements.txt

    Save exact versions of all installed packages

  • pip list --outdated --format=columns

    List packages with newer versions available

all 15 python commands