dirn / Gilded-Rose-Kata

A Python implementation of the Gilded Rose Kata.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gilded Rose Kata

This is an implementation of the Gilded Rose Kata. It is based on the RailsConf 2014 talk All the Little Things by Sandi Metz.

The code is written in Python. I've done my best to implement the tests referenced in the talk. The main branch is set to the original implementation of the GildedRose class. If you'd like to play along with Sandi's talk, start there. To get started, run the following

    pip install -r requirements.txt
    pre-commit install

pre-commit is used to handle some linting and fixing.

The tests can be run by invoking tox.

    tox

My final version (modelled after the talk) can be found in the refactored branch. It contains separate commits for each stage in the refactoring.

About

A Python implementation of the Gilded Rose Kata.

License:MIT License


Languages

Language:Python 100.0%