Skip to content

style guide and config files for projects under the earthmover organisation

License

Notifications You must be signed in to change notification settings

earthmoverproject/earthmover-style-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Tools

Ruff

For Python projects, Ruff should be used with the corresponding ruff.toml file in this repository

Biome

For Javascript and Typescript projects Biome should be used with the corresponding biome.json file in this directory

General styling

lower camel case

Where possible use lower camel case for variable names, such as:

variableName = 10

Type definitions

Furthemore where possible use type definitions, this helps make your code a lot more readable:

variableName: int = 10
def main(argument: int) -> int:
    return (variableName + 10)
main(variableName)

4 spaces

Use four spaces to indent code (you can set your code editor to make tabs 4 spaces)

About

style guide and config files for projects under the earthmover organisation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published