Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.39 KB

File metadata and controls

43 lines (30 loc) · 1.39 KB

IDE Integration

PEM provides a "battery-included" experience for modern IDEs.

VS Code

PEM automatically injects a .vscode folder into new projects.

Configuration

  • Settings: Configures python.defaultInterpreterPath, enables ruff formatting, and sets strict type checking.
  • Launch: Includes debug configurations for Scripts, FastAPI, and Flask.
  • Extensions: Recommends essential extensions (Python, Pylance, Ruff, GitLens, etc.).

PyCharm

Recommended Setup

  1. Interpreter: Point PyCharm to the .venv in your project root.
  2. Inspections: Import configs/pycharm/inspection-profile.xml for standardized linting rules.
  3. Plugins: See configs/pycharm/recommended-plugins.txt for a list of productivity boosters.

Jupyter

PEM manages a centralized Jupyter environment at ~/.venvs/jupyter.

Usage

  1. Activate the environment:
    source ~/.venvs/jupyter/bin/activate
  2. Start Jupyter Lab:
    jupyter lab

Configuration

  • Config: configs/jupyter/jupyter_notebook_config.py sets secure defaults.
  • Extensions: configs/jupyter/requirements.txt lists recommended widgets and tools.

Cursor

PEM supports Cursor (an AI-first code editor) via .cursorrules.

  • Rules: configs/cursor/.cursorrules defines coding standards, testing requirements, and documentation styles for the AI assistant.