Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 971 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 971 Bytes
domain shortname name status editor
github.com
8/STYLE
Coding Style Guidelines
stable
Valery V. Vorotyntsev <valery.vorotyntsev@seagate.com>

Coding Style Guidelines

  • All error messages should go to stderr.

Bash code

  • Use 4 spaces for indentation.

  • Executable scripts should start with

    #!/usr/bin/env bash
    set -eu -o pipefail
  • For the rest, follow bahamas10's Bash Style Guide.

Python code

  • Use Python version 3.6.

  • flake8 linter check should pass.

  • mypy type check should pass. Type annotations are optional.

  • Executable scripts should start with

    #!/usr/bin/env python3

C code