Skip to content

Core#3

Merged
JJCoding01 merged 22 commits into
masterfrom
core
Oct 17, 2020
Merged

Core#3
JJCoding01 merged 22 commits into
masterfrom
core

Conversation

@JJCoding01
Copy link
Copy Markdown
Owner

  • Move common/private functionality into core module
  • Add some type hints for mypy
  • Restructure tests to use pytest fixtures and parametrized tests
  • Add make commands for building and publishing to PyPi

Functions that require value validation now have the validation in the function
body itself, instead of abstracting the validation out to a separate class.

This was done due to issues when implementing type checking using mypy and the
second decorator on class functions.
- Change base classes to be abstract
- Add boundary property to all reaction classes
- Add @staticmethod decorator to __get_nodes
Disable flake8 errors for PyPep8Naming specific PyUnresolvedReferencesAdd

Disable the PyPep8Naming for certain classes to allow variable names to follow
engineering conventions. (ie E for Young's modulus, and I for area moment of
inertia)

Disable PyUnresolvedReferencesAdd on select numpy functions. Not sure why they
are getting marked as unresolved.
No changes to external functionality, improvements to organize internal
modules only.
@JJCoding01 JJCoding01 merged commit 0b5e4ab into master Oct 17, 2020
@JJCoding01 JJCoding01 deleted the core branch October 17, 2020 22:04
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.

1 participant