Skip to content

den-is/vscode-dev-envs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Building container image

cd python
docker build --progress=plain -t pydev .

Configuring linters, formaters, etc.

Tools can be configured by:

  • Recommended: Usually each tool supports per project configuration settings file. Some of the tools comply to PEP518 and use pyproject.toml to store their configuration values. Other tools use their own configuration files that can be placed in projects root, users home, or might have global system configuration. Read tools documentation.
  • You can pass VScode configuration settings devcontainer.json. Usually these are command line arguments for tools that VScode will send to a tool on invocation. Example:
      "settings": {
        "python.defaultInterpreterPath": "/usr/local/bin/python",
        "python.linting.enabled": true,
        "python.linting.pylintEnabled": false,
        "python.linting.flake8Enabled": true,
        "python.linting.pylintArgs": [
          // "--disable=missing-docstring,unused-import",
          "--max-line-length=120",
          "--disable=C0111,W0611"
        ],
        "python.linting.flake8Args": [
          "--max-line-length=120",
          "--ignore=E402,F841,F401,W503"
        ],
      }

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published