aoc2025 init

This commit is contained in:
Stefan Harmuth 2025-11-30 12:09:56 +01:00
parent 08c88b5df6
commit 448133da2c
2 changed files with 2 additions and 27 deletions

View File

@ -12,6 +12,6 @@ repos:
args:
- --auto-add-tiles-to-git=add
- --contrast-improvement-type=dark
- --overwrite-year=2024
- --overwrite-year=2025
# - --language-sorting=py,jl,kt,rs
# - --exclude-patterns=2021/*/*.apl,2021/*/*.py,2021/*/*.cpp

View File

@ -1,29 +1,4 @@
# aoc_template
# Advent Of Code 2025
Template for yearly AoC-Repositories
# Usage
- Clone repository (or use as template in gitea)
- Run `pip install -r requirements.txt`
- Update main.py and start_day.py: set YEAR (near the top) to the respective year
- Create a file named ".session" next to your main.py containing the contents of your aoc-session cookie
On a given day, just call `./start_day.py -d <day_of_month>`
# Not using PyCharm?
Just comment out the call() to CHARMS near the end of start_day.py
# Want to add AoC-Tiles?
Author: https://github.com/LiquidFun/aoc_tiles
- Run `pre-commit install --hook-type post-commit`
- In .pre-commit-config.yaml change the --overwrite-year option as needed
- Optional: Copy your .session file to session.cookie
- For more options see: https://github.com/LiquidFun/aoc_tiles/blob/main/aoc_tiles/config.py
Tiles will be added to this README between the following lines:
<!-- AOC TILES BEGIN -->
<!-- AOC TILES END -->