Skip to content

Commit a84fc4c

Browse files
committed
Initial project contents
1 parent 566f7b2 commit a84fc4c

File tree

5 files changed

+163
-0
lines changed

5 files changed

+163
-0
lines changed

.devcontainer/devcontainer.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
7+
"features": {
8+
"ghcr.io/devcontainers-contrib/features/mypy:2": {},
9+
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
10+
},
11+
// Features to add to the dev container. More info: https://containers.dev/features.
12+
// "features": {},
13+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
14+
// "forwardPorts": [],
15+
// Use 'postCreateCommand' to run commands after the container is created.
16+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
17+
// Configure tool-specific properties.
18+
"customizations": {
19+
"vscode": {
20+
"extensions": [
21+
"ms-python.black-formatter"
22+
]
23+
}
24+
}
25+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26+
// "remoteUser": "root"
27+
}

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# AdventOfCode solution scripts in Python by Niko Böckerman

adventofcode/__init__.py

Whitespace-only changes.

poetry.lock

+119
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[tool.poetry]
2+
name = "adventofcode"
3+
version = "0.1.0"
4+
description = ""
5+
authors = ["Niko Böckerman <[email protected]>"]
6+
readme = "README.md"
7+
8+
[tool.poetry.dependencies]
9+
python = "^3.12"
10+
11+
[tool.poetry.group.dev.dependencies]
12+
black = "^23.11.0"
13+
14+
[build-system]
15+
requires = ["poetry-core"]
16+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)