Skip to content

LegacyID1991/core

 
 

Repository files navigation

Mindbender Core

Build Status Coverage Status

The production pipeline at Mindbender Animation Studio.


Testing

cd mindbender-core
docker build -t mindbender/core -f Dockerfile-maya2016 .

# Run nosetests (Windows)
docker run --rm -v %cd%:/workspace mindbender/core

# Run nosetests (Linux/OSX)
docker run --rm -v $(pwd):/workspace mindbender/core

Code convention

Below are some of the standard practices applied to this repositories.

  • Etiquette: PEP8
    • All code is written in PEP8. It is recommended you use a linter as you work, flake8 and pylinter are both good options.
  • Etiquette: Napoleon docstrings
    • Any docstrings are made in Google Napoleon format. See Napoleon for details.
  • Etiquette: Semantic Versioning
  • Etiquette: Underscore means private
    • Anything prefixed with an underscore means that it is internal to wherever it is used. For example, a variable name is only ever used in the parent function or class. A module is not for use by the end-user. In contrast, anything without an underscore is public, but not necessarily part of the API. Members of the API resides in api.py.
  • API: Idempotence
    • A public function must be able to be called twice and produce the exact same result. This means no changing of state without restoring previous state when finishing. For example, if a function requires changing the current selection in Autodesk Maya, it must restore the previous selection prior to completing.

Packages

No packages published

Languages

  • Python 92.8%
  • Batchfile 7.1%
  • Shell 0.1%