Skip to content

Fix styling#14

Merged
EmmaLouise2018 merged 1 commit intomainfrom
fix_styling
Sep 7, 2022
Merged

Fix styling#14
EmmaLouise2018 merged 1 commit intomainfrom
fix_styling

Conversation

@EmmaLouise2018
Copy link
Copy Markdown
Contributor

@EmmaLouise2018 EmmaLouise2018 commented Sep 7, 2022

According to PEP8: Class names must follow CamelCase naming (Each new word is capitalized without underscore)
According to PEP8, function and variable names should be lowercase with words separated by underscores. In PYLEECAN, small exceptions are made to this rule: a method or a variable name can have capitalized letter if and only if it follows physical quantities (radius=R, number=N or Z, length=L etc). For instance, Zs is used for the number of slots or Rbo for the lamination bore radius.

@EmmaLouise2018 EmmaLouise2018 changed the base branch from main to add_defaults_release September 7, 2022 16:57
@EmmaLouise2018 EmmaLouise2018 changed the base branch from add_defaults_release to main September 7, 2022 16:57
@EmmaLouise2018 EmmaLouise2018 force-pushed the fix_styling branch 2 times, most recently from 255f499 to 41b7008 Compare September 7, 2022 17:11
@EmmaLouise2018 EmmaLouise2018 marked this pull request as draft September 7, 2022 17:30
@EmmaLouise2018 EmmaLouise2018 marked this pull request as ready for review September 7, 2022 20:23
@EmmaLouise2018 EmmaLouise2018 merged commit 45594a3 into main Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants