Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 140
    • Merge requests 140
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !28601

VS Code Docker python support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rafal Bielski requested to merge rbielski/athena:vscode-docker-python into master Dec 06, 2019
  • Overview 31
  • Commits 4
  • Pipelines 1
  • Changes 3

Implementing solution proposed by @tadej and @fwinkl to the VS Code development container.

I couldn't make it work with python 2.7.16 (spent way too much time on trying), so I do this with the native python 2.7.5 from the system. Not ideal, but much better than nothing.

Submitting as WIP as this is subject to ATLAS CMake dumping PYTHONPATH to python_env.txt as suggested by @tadej. That's something to discuss with @akraszna. Once that file is in, we have nice IntelliSense functionality with e.g. class definition peeking: vscode-python-02

Independently, we also have full flake8 functionality including ATLAS extensions: vscode-python-01

Edited Dec 13, 2019 by Rafal Bielski
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: vscode-docker-python