| domain | github.com |
|---|---|
| shortname | 8/STYLE |
| name | Coding Style Guidelines |
| status | stable |
| editor | Valery V. Vorotyntsev <valery.vorotyntsev@seagate.com> |
- All error messages should go to stderr.
-
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.
-
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
- Follow Linux kernel coding style.