LiquidFun / aoc_tiles

Fancy Advent of Code README tiles showing the completion status of the challenges per day
Apache License 2.0
26 stars 3 forks source link

cannot overwrite year #3

Closed fdlk closed 10 months ago

fdlk commented 10 months ago

I have a single year in my repo and in the pre commit config I have tried to override the year:

repos:
  - repo: https://github.com/LiquidFun/aoc_tiles
    rev: 0.5.4
    hooks:
      - id: aoc-tiles
        args:
          - --overwrite-year=2023

However, I get an error when I commit:

aoctiles: error: argument --overwrite-year: invalid Optional value: '2023'

I've tried without the = as well, so - --overwrite-year 2023 but then I get leaderboardNone.html with a 404 in it

mSpoel commented 10 months ago

I run into the same issue, something is off with setting the optional int

LiquidFun commented 10 months ago

Can you test it in 0.5.6? It should be fixed now

LiquidFun commented 10 months ago

Fixed in 0.5.6