Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit abe44a2

Browse files
committed
docs: contributing: style: Naming Conventions
Signed-off-by: John Andersen <[email protected]>
1 parent e9518b2 commit abe44a2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- Docstrings and doctestable examples for `record.py` (features and evaluated)
1616
- Simplified model API with SimpleModel
1717
- Documentation on how DataFlows work conceptually.
18+
- Style guide now contains information on class, variable, and function naming.
1819
### Changed
1920
- Restructured contributing documentation
2021
- Use randomly generated data for scikit tests

docs/contributing/style.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ on all JavaScript files. Use the following options.
4242
4343
$ js-beautify -r -n -s 2 file_to_format.js
4444
45+
Naming Conventions
46+
------------------
47+
48+
- Variables should always use underscores, as well as functions and methods.
49+
- Classes should use CamelCase.
50+
4551
Imports
4652
-------
4753

0 commit comments

Comments
 (0)