Skip to content
  1. Sep 10, 2024
    • Alexander Hess's avatar
      Set up code formatting tools · fb407631
      Alexander Hess authored
      - auto-format code with:
        + autoflake => * remove unused imports and variables
                       * remove duplicate dict keys
                       * expand star imports
        + black => enforce an uncompromising code style
        + isort => enforce a consistent import style
                   compliant with Google's Python style guide
      - add nox session "format" to run these tools
      fb407631
    • Alexander Hess's avatar
      Set up nox as the task runner · ceabb00b
      Alexander Hess authored
      - base configuration for all nox sessions to come
      - add infos about nox in the README file
      - ignore [py]cache folders in git
      ceabb00b
    • Alexander Hess's avatar
      Initialize the project · e832333e
      Alexander Hess authored
      - describe how a local develop environment can be set up
      - we use poetry to manage the project
        => add pyproject.toml and poetry.lock files
      - add a package for the source code
        => "src" layout structure to ensure that pytest runs the tests
           against a packaged version installed in a virtual environment
           and not the *.py files in the project directory
           (Source: https://hynek.me/articles/testing-packaging/)
      - ignore poetry's artifacts in git
      e832333e
    • Alexander Hess's avatar
      Add README file · c7d8b7f2
      Alexander Hess authored
      - describe the project's goals
      - contributions are welcome
      - mention the GitFlow branching model
      c7d8b7f2
    • Alexander Hess's avatar
      Add open-source license · 8ebd6c9f
      Alexander Hess authored
      MIT license because the project is for everybody
      8ebd6c9f
    • Alexander Hess's avatar
      Math is the language of the universe. · 3416decc
      Alexander Hess authored
      3416decc
Loading