Add devcontainer setup #2185

Merged
PeterSurda merged 1 commits from devcontainers into v0.6 2024-02-28 00:00:33 +01:00
PeterSurda commented 2024-02-27 18:08:03 +01:00 (Migrated from github.com)

Adds devcontainer configuration. I tested it with GitHub Codespaces. It includes:

  • highlighting: pylint, flake8 and bandit. Uses setup.cfg for overrides. I'm not fully sure if pycodestyle is supported or not. Bandit doesn't use overrides from tox.ini yet.
  • python 2 as well as 3 is supported
  • limited support for tox, you can run it directly in the terminal. You can also run it from the "Testing" tab, but then for some reason the tox.ini needs to be open in an editor, and it also just runs in the terminal
  • It's still not 100% equivalent to the buildbot tests, for example tor support is missing, but most of what a developer needs is available
Adds devcontainer configuration. I tested it with GitHub Codespaces. It includes: - highlighting: pylint, flake8 and bandit. Uses `setup.cfg` for overrides. I'm not fully sure if pycodestyle is supported or not. Bandit doesn't use overrides from `tox.ini` yet. - python 2 as well as 3 is supported - limited support for tox, you can run it directly in the terminal. You can also run it from the "Testing" tab, but then for some reason the `tox.ini` needs to be open in an editor, and it also just runs in the terminal - It's still not 100% equivalent to the buildbot tests, for example tor support is missing, but most of what a developer needs is available
This repo is archived. You cannot comment on pull requests.
No description provided.