Quacken8 / MagneticDisconnectSimulator

Python simulator of disconnection of solar magnetic field from its roots inpsired by Schüssler and Rempel (2018)
1 stars 0 forks source link

Code formatting #1

Closed mejroslav closed 1 year ago

mejroslav commented 1 year ago

Choose one formatter (e.g. Black) and enable automatic formatting in VS Code. It makes the code much more readable a cleaner.

.vscode/settings.json

  "[python]": {
    "editor.defaultFormatter": "ms-python.black-formatter"
  }
mejroslav commented 1 year ago

I know that today's kids use camelCase just like in javascript, but still, consider being loyal to your old good friend python and use snake_case for functions and variables.