|
2 | 2 | // README at: https://github.com/devcontainers/templates/tree/main/src/python
|
3 | 3 | {
|
4 | 4 | "name": "Édition en ligne",
|
5 |
| - // "build": { |
6 |
| - // "dockerfile": "Dockerfile" |
7 |
| - // }, |
| 5 | + "build": { |
| 6 | + "dockerfile": "Dockerfile" |
| 7 | + }, |
8 | 8 | // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
9 |
| - "image": "mcr.microsoft.com/devcontainers/python:0-3.11", |
| 9 | + // "image": "mcr.microsoft.com/devcontainers/python:0-3.11", |
10 | 10 | // Features to add to the dev container. More info: https://containers.dev/features.
|
11 | 11 | "features": {
|
12 | 12 | "ghcr.io/devcontainers-contrib/features/apt-packages:1": {
|
|
19 | 19 | "libz-dev",
|
20 | 20 | "pngquant"
|
21 | 21 | ]
|
22 |
| - } |
| 22 | + }, |
| 23 | + "ghcr.io/devcontainers-contrib/features/coverage-py:2": {} |
23 | 24 | },
|
24 | 25 | // Configure tool-specific properties.
|
25 | 26 | "customizations": {
|
|
36 | 37 | },
|
37 | 38 | "editor.formatOnSave": true,
|
38 | 39 | "editor.codeActionsOnSave": {
|
39 |
| - "source.organizeImports": true |
| 40 | + "source.organizeImports": "explicit" |
40 | 41 | },
|
41 | 42 | // Markdown
|
42 | 43 | "markdown.updateLinksOnFileMove.enabled": "prompt",
|
|
45 | 46 | "markdown.validate.fileLinks.markdownFragmentLinks": "warning",
|
46 | 47 | "markdown.validate.fragmentLinks.enabled": "warning",
|
47 | 48 | "[markdown]": {
|
48 |
| - "files.trimTrailingWhitespace": false, |
| 49 | + "files.trimTrailingWhitespace": false |
49 | 50 | },
|
50 | 51 | // Python
|
51 | 52 | "python.defaultInterpreterPath": ".venv/bin/python",
|
52 | 53 | "[python]": {
|
53 | 54 | "editor.codeActionsOnSave": {
|
54 |
| - "source.organizeImports": true |
| 55 | + "source.organizeImports": "explicit" |
55 | 56 | },
|
56 | 57 | "editor.defaultFormatter": "ms-python.black-formatter",
|
57 | 58 | "editor.formatOnSave": true,
|
58 | 59 | "editor.guides.bracketPairs": "active",
|
59 | 60 | "editor.rulers": [
|
60 | 61 | 88
|
61 | 62 | ],
|
62 |
| - "editor.wordWrapColumn": 88, |
| 63 | + "editor.wordWrapColumn": 88 |
63 | 64 | },
|
64 | 65 | // extensions
|
65 | 66 | "autoDocstring.guessTypes": true,
|
|
69 | 70 | "yaml.schemas": {
|
70 | 71 | "https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs*.yml",
|
71 | 72 | "https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml",
|
72 |
| - "https://json.schemastore.org/markdownlint.json": ".markdownlint*", |
| 73 | + "https://json.schemastore.org/markdownlint.json": ".markdownlint*" |
73 | 74 | },
|
74 | 75 | "yaml.customTags": [
|
75 | 76 | "!ENV scalar",
|
|
0 commit comments