This has some shared classes that multiple other Freezing Saddles projects use, outside the data models in freezingsaddles/freezing-model. See Eliminate redundant code for register_athlete_team #66 for the first issue to tackle here.
This is intended for use with the other Freezing Saddles projects projects including freezing-web and freezing-sync.
The freezing-sync
code is intended to be PEP-8 compliant. Code formatting is done with black and isort and can be linted with flake8. See the .flake8 file and install the dev
dependencies to get these tools (pip install -e '.[dev]''
).
This project uses setuptools for packaging with a modern pyproject.toml configuration. To get started, create a virtual environment and install the dependencies:
python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[lint]' # install with linters for development
This project uses flake8 for linting. To run the linter:
flake8 freezing
This project uses black for code formatting. To format the code:
black freezing
This project uses isort for sorting imports. To sort the imports:
isort freezing
This software is a community-driven effort, and as such the contributions are owned by the individual contributors:
Copyright 2019 Hans Lillelid
Copyright 2020 Merlin Hughes
Copyright 2020 Richard Bullington-McGuire
This software is licensed under the Apache 2.0 license.