Skip to content

Add type hints to main APIs#264

Merged
skjerns merged 22 commits intoholgern:masterfrom
joseph-pq:typehints
Nov 13, 2024
Merged

Add type hints to main APIs#264
skjerns merged 22 commits intoholgern:masterfrom
joseph-pq:typehints

Conversation

@joseph-pq
Copy link
Copy Markdown
Contributor

Related Issues

#263

Changes

Added typehints to files:

  • edfreader.py
  • edfwriter.py
  • highleve.py

Also, I added a py.typed file for being recognizable for mypy and a _pyedflib.pyi as a python interface for the _pyedflib.pyc.

joseph-pq and others added 5 commits November 9, 2024 10:04
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@skjerns skjerns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! looking good :) if you implement the changes, I will merge

joseph-pq and others added 10 commits November 12, 2024 13:50
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Co-authored-by: Simon Kern <14980558+skjerns@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

@joseph-pq joseph-pq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skjerns I accepted most of the suggestions. I responded to the rest.

@skjerns
Copy link
Copy Markdown
Collaborator

skjerns commented Nov 13, 2024

@joseph-pq there seems to be a syntax error, could you check?

@skjerns
Copy link
Copy Markdown
Collaborator

skjerns commented Nov 13, 2024

@holgern could you enable squash and merge as the default for the repo settings?

image

@skjerns skjerns merged commit ea9ee94 into holgern:master Nov 13, 2024
@skjerns
Copy link
Copy Markdown
Collaborator

skjerns commented Nov 13, 2024

thanks to @joseph-pq for the great PR, will merge

@joseph-pq joseph-pq deleted the typehints branch November 13, 2024 14:01
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