Skip to content

Commit 9217d69

Browse files
committed
initial commit
0 parents  commit 9217d69

File tree

7 files changed

+84
-0
lines changed

7 files changed

+84
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from t4pcommunity/python-devcontainer:latest

.devcontainer/devcontainer.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"name": "Python Development Workspace",
3+
"customizations": {
4+
"vscode": {
5+
"extensions": [
6+
"GitHub.copilot",
7+
"GitHub.copilot-chat",
8+
"charliermarsh.ruff",
9+
"ms-python.mypy-type-checker",
10+
"ms-python.python"
11+
],
12+
"settings": {
13+
"extensions.ignoreRecommendations": false,
14+
"editor.formatOnSave": true,
15+
"editor.minimap.enabled": false,
16+
"editor.tabSize": 4,
17+
"editor.insertSpaces": true,
18+
"editor.detectIndentation": false,
19+
"explorer.compactFolders": false,
20+
"terminal.integrated.tabs.enabled": false,
21+
"files.autoSave": "afterDelay",
22+
"workbench.startupEditor": "none",
23+
"window.zoomLevel": 1,
24+
"[markdown]": {
25+
"editor.wordWrap": "on",
26+
"editor.indentSize": 2,
27+
"editor.rulers": []
28+
},
29+
"[python]": {
30+
"editor.defaultFormatter": "charliermarsh.ruff",
31+
"editor.formatOnSave": true,
32+
"editor.tabSize": 4,
33+
"editor.inlayHints.enabled": "on",
34+
"editor.rulers": [
35+
79
36+
]
37+
},
38+
"mypy-type-checker.severity": {
39+
"error": "Error",
40+
"warning": "Error",
41+
"note": "Error",
42+
"info": "Error"
43+
},
44+
"mypy-type-checker.args": [
45+
"--config-file=.vscode/mypy.ini"
46+
],
47+
"ruff.format.args": [
48+
"--line-length",
49+
"79"
50+
],
51+
"ruff.lint.args": [
52+
"--line-length",
53+
"79",
54+
"--select",
55+
"E,F,W,N"
56+
]
57+
}
58+
}
59+
},
60+
"dockerFile": "Dockerfile"
61+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"qwtel.sqlite-viewer",
4+
"humao.rest-client",
5+
"DavidAnson.vscode-markdownlint"
6+
]
7+
}

.vscode/mypy.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[mypy]
2+
warn_unused_configs = True
3+
disallow_untyped_calls = True
4+
disallow_untyped_defs = True
5+
check_untyped_defs = True
6+
disallow_untyped_decorators = True
7+
ignore_missing_imports = True

Dockerfile

Whitespace-only changes.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# How to use the Python Codespace
2+
3+
1. Fork this repository to your GitHub account. Name the forked repository as something similar to the new one in your class or your project.
4+
5+
2. From the forked repository in your account, click on the green `Code` button, then click on the `Codespaces` tab. Next, click `Create codespace on main`.
6+
7+
3. GitHub will create a new Codespace. Codespaces are browser-based programming environments built on VS Code and Docker Containers.

0 commit comments

Comments
 (0)