Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type Annotations #55

Open
dalonsoa opened this issue Oct 10, 2019 · 6 comments
Open

Type Annotations #55

dalonsoa opened this issue Oct 10, 2019 · 6 comments

Comments

@dalonsoa
Copy link
Collaborator

Type annotations are an invaluable resource to inform the user what a function or method expect as inputs and will provide as output. It can also help to identify problems using tools like mypy.

Solcore lacks completely of type annotations.

Annotate everything is an enormous undertaking and it might be very complicated at times, with confusing or custom made objects serving as inputs/outputs. But it can be done bit by bit. Any progress along these lines will be very helpful for the long term sustainability of Solcore.

@mhrownaghi
Copy link
Contributor

I want to fix this issue.

@dalonsoa
Copy link
Collaborator Author

You're most welcome!!

It will be helpful to reduced the disruption to the work of other people also contributing if you tackle the work opening one PR per module you modify.

@Abelarm
Copy link
Contributor

Abelarm commented Oct 10, 2019

Hi I would also work on this, if there is "space" for me.
@mhrownaghi maybe we can split up the work.

What do you think @dalonsoa ?

@dalonsoa
Copy link
Collaborator Author

Solcore has plenty of modules for both of you - and even more people! Just decide among yourself who is going to work on what.

I would say that the analytic_solar_cells, poisson_drift_difussion and quantum_mechanics packages are the hardest, by far, so probably you should start by another one. The modules in the root directory are probably the best to start with as they are the core packages and, hopefully, the simplest (keeping aside the solar_cell_solver which uses the three above.

@mhrownaghi
Copy link
Contributor

I will work on modules:
config_tools.py
crystals.py
interpolate.py
science_tracker.py
singleton.py
smooth.py

@Artyko
Copy link
Contributor

Artyko commented Oct 12, 2019

Hi, I'm fairly new in contribution, do you mind if I take up graphing module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants