Giter VIP home page Giter VIP logo

aoc_tiles's Introduction

Some of the Projects I Have Worked on

Fancy Stats

aoc_tiles's People

Contributors

aurarius1 avatar cuteredpwnda avatar karl-sparks avatar kittygiraudel avatar lionel-nj avatar liquidfun avatar lukefadedaway avatar supertux88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aoc_tiles's Issues

Feature request list

  • Features

    • Flag: auto-add-tiles-to-git
    • Flag: auto-add .aoc-tiles to .gitignore
    • Flag: auto-add <!-- AOC BEGIN... to README and ensure it exists
    • Flag: highlight top 100 placement
    • Total star count across all years
  • Performance

    • Multiprocessing
    • More efficient yaml loader (CLoader instead of FullLoader)
    • More efficient git-ignore check
    • Cache if tiles have already been created
  • Documentation

    • Add installation instructions to readme for pre-commit hook
    • List configuration options with images in readme
    • Improve output to user (what was added to git, how many tiles were regenerated)
  • Tests

    • Automatically test aoctiles for some repositories
  • Fix

    • Debug logging at the beginning even if verbose not set
    • Git add/amend README as well
  • CICD

    • Single-step update version in pyproject, create release, and push to pypi with github actions

Minimum Py version

Does not work with Python < 3.11 due to missing datetime.UTC, especially not with Python 3.8 as specified in the pyproject.toml.

For example, Python 3.10.8

>>> import datetime
>>> datetime.datetime.now(datetime.UTC)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'datetime' has no attribute 'UTC'

cannot overwrite year

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.