Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
zehengl committed Oct 2, 2023
1 parent 4d04b5b commit 5bda367
Show file tree
Hide file tree
Showing 68 changed files with 12,837 additions and 46 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.venv
**/day[0-9]*_input.txt
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"recommendations": [
"davidanson.vscode-markdownlint",
"eamodio.gitlens",
"esbenp.prettier-vscode",
"ms-python.black-formatter",
"ms-python.pylint",
"ms-python.python",
"ms-vscode.wordcount",
"naumovs.theme-oceanicnext",
"njpwerner.autodocstring",
"oderwat.indent-rainbow",
"pkief.material-product-icons",
"streetsidesoftware.code-spell-checker",
Expand Down
10 changes: 5 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"autoDocstring.docstringFormat": "google",
"editor.bracketPairColorization.enabled": true,
"editor.formatOnSave": true,
"editor.guides.bracketPairs": "active",
Expand All @@ -7,12 +8,11 @@
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"python.formatting.blackPath": "black",
"python.formatting.provider": "black",
"python.linting.pylintEnabled": true,
"python.linting.pylintPath": "pylint",
"workbench.colorTheme": "Oceanic Next (dimmed bg)",
"workbench.editor.enablePreview": false,
"workbench.iconTheme": "vscode-icons",
"workbench.productIconTheme": "material-product-icons"
"workbench.productIconTheme": "material-product-icons",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
}
}
60 changes: 30 additions & 30 deletions docs/2021.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,207 +5,207 @@
=== "Part 1"

```py linenums="1"
--8<-- "2021/day01_part1.py"
--8<-- "src/2021/day01_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day01_part2.py"
--8<-- "src/2021/day01_part2.py"
```

??? success "Day 2"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day02_part1.py"
--8<-- "src/2021/day02_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day02_part2.py"
--8<-- "src/2021/day02_part2.py"
```

??? success "Day 3"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day03_part1.py"
--8<-- "src/2021/day03_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day03_part2.py"
--8<-- "src/2021/day03_part2.py"
```

??? success "Day 4"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day04_part1.py"
--8<-- "src/2021/day04_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day04_part2.py"
--8<-- "src/2021/day04_part2.py"
```

??? success "Day 5"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day05_part1.py"
--8<-- "src/2021/day05_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day05_part2.py"
--8<-- "src/2021/day05_part2.py"
```

??? success "Day 6"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day06_part1.py"
--8<-- "src/2021/day06_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day06_part2.py"
--8<-- "src/2021/day06_part2.py"
```

??? success "Day 7"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day07_part1.py"
--8<-- "src/2021/day07_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day07_part2.py"
--8<-- "src/2021/day07_part2.py"
```

??? success "Day 8"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day08_part1.py"
--8<-- "src/2021/day08_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day08_part2.py"
--8<-- "src/2021/day08_part2.py"
```

??? success "Day 9"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day09_part1.py"
--8<-- "src/2021/day09_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day09_part2.py"
--8<-- "src/2021/day09_part2.py"
```

??? success "Day 10"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day10_part1.py"
--8<-- "src/2021/day10_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day10_part2.py"
--8<-- "src/2021/day10_part2.py"
```

??? success "Day 11"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day11_part1.py"
--8<-- "src/2021/day11_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day11_part2.py"
--8<-- "src/2021/day11_part2.py"
```

??? success "Day 12"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day12_part1.py"
--8<-- "src/2021/day12_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day12_part2.py"
--8<-- "src/2021/day12_part2.py"
```

??? success "Day 13"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day13_part1.py"
--8<-- "src/2021/day13_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day13_part2.py"
--8<-- "src/2021/day13_part2.py"
```

??? success "Day 14"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day14_part1.py"
--8<-- "src/2021/day14_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day14_part2.py"
--8<-- "src/2021/day14_part2.py"
```

??? success "Day 15"

=== "Part 1"

```py linenums="1"
--8<-- "2021/day15_part1.py"
--8<-- "src/2021/day15_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2021/day15_part2.py"
--8<-- "src/2021/day15_part2.py"
```
16 changes: 8 additions & 8 deletions docs/2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,53 @@
=== "Part 1"

```py linenums="1"
--8<-- "2022/day01_part1.py"
--8<-- "src/2022/day01_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2022/day01_part2.py"
--8<-- "src/2022/day01_part2.py"
```

??? success "Day 2"

=== "Part 1"

```py linenums="1"
--8<-- "2022/day02_part1.py"
--8<-- "src/2022/day02_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2022/day02_part2.py"
--8<-- "src/2022/day02_part2.py"
```

??? success "Day 3"

=== "Part 1"

```py linenums="1"
--8<-- "2022/day03_part1.py"
--8<-- "src/2022/day03_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2022/day03_part2.py"
--8<-- "src/2022/day03_part2.py"
```

??? success "Day 4"

=== "Part 1"

```py linenums="1"
--8<-- "2022/day04_part1.py"
--8<-- "src/2022/day04_part1.py"
```

=== "Part 2"

```py linenums="1"
--8<-- "2022/day04_part2.py"
--8<-- "src/2022/day04_part2.py"
```
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-r requirements.txt
-r requirements-docs.txt
black==23.9.1
pip-check-updates==0.22.0
pylint==2.17.7
Loading

0 comments on commit 5bda367

Please sign in to comment.