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

v0.2.0 #10

Closed
wants to merge 98 commits into from
Closed

v0.2.0 #10

wants to merge 98 commits into from

Conversation

tailaiw
Copy link
Contributor

@tailaiw tailaiw commented Apr 10, 2020

No description provided.

tailaiw and others added 30 commits September 26, 2019 19:38
raise error if augmentation function is not defined correctly in an Augmentor object
* Initial type hinting on a few files
Added mypy config file

* Added type hints to augmentor.py and updated mypy.ini

augmentor.py still has the below error, which requires a fix:

src/tsaug/augmentor.py:212: error: Unsupported operand types for * ("None" and "int")
src/tsaug/augmentor.py:212: note: Left operand is of type "Optional[int]"

* Updated augmentor.py with lastest patch and hints

* Type hinted cross_sum.py added black config file

* Added type hints to dimensionalize.py

* Added type hints to jitter.py and resample.oy

* Updated black config file and reran on some files

* Added type hints to reverse.py and sidetrack.py

* Added type hints to the remaining source files
- Updated type hints in crop.py
- Fixed a few bugs in zoom.py

* Small cleanup of affine.py type hints

* Updated type hinting to support Python 3.5
Fixed bug in layer calc. All tests passing for 3.5 and 3.6

* added mypy test into CI/CD

* PR review fixes / cleanups

* Explicitly ignoring some type hint errors (line specific)
Removed some unused imports

* don't type numpy rand generator

* fixed type hinting errors related to _get_output_dim

* fixed a type hinting error

* fixed a type hinting error

* fixed a wrong type hint

* better code

* added some comment to explain what's going on

Co-authored-by: tailaiw <29800495+tailaiw@users.noreply.github.com>
* added GH action for package uploading

* updated version number

* added release history
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.

None yet

2 participants