Skip to content

freezingsaddles/freezing-shared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freezing-shared

Shared classes for Freezing Saddles

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.

Usage

This is intended for use with the other Freezing Saddles projects projects including freezing-web and freezing-sync.

Coding standards

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]'').

Developing

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

Linting

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

Legal

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.

About

Shared classes for Freezing Saddles

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages