Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 697 Bytes

styleguide.md

File metadata and controls

17 lines (11 loc) · 697 Bytes

Style Guide for PyGromosTools

Introduction

This file contains the style guide for PyGromosTools. All code should be written according to this style guide. PRs that violate this style guide will be automatically rejected.

WIP: This style guide is still in development. Please be patient and report any issues you find. Thank you!

Python style guide in short

The most important points in short:

  1. Clear and descriptive variable names
  2. Good docstrings (numpy style)
  3. Adhere to PEP8 style guidelines
  4. Adhere to the google style guide (https://google.github.io/styleguide/pyguide.html)
  5. Check your code against pylint and pre-commit hooks (described in pre-commit-config.yaml)