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

Split up core in smaller sub modules #821

Merged
merged 13 commits into from
Nov 1, 2022
Merged

Conversation

marscher
Copy link
Contributor

Changes

Split up core in smaller sub modules, e.g. generic_series and mathematical_expression and so forth.

@github-actions
Copy link

github-actions bot commented Oct 28, 2022

Test Results

2 184 tests   - 1   2 183 ✔️  - 1   2m 34s ⏱️ +2s
       1 suites ±0          1 💤 ±0 
       1 files   ±0          0 ±0 

Results for commit 4e32e83. ± Comparison against base commit e6f7d6a.

♻️ This comment has been updated with latest results.

…pression broke)

actually this is very strange, as the relative import triggers a behaviour to use relative import all over the place.

The weldx.util.util pkg imports an attr from asdf, but this import would be tried to resolve by Python (3.10) to the weldx internal "asdf" package.
@codecov
Copy link

codecov bot commented Oct 28, 2022

Codecov Report

Merging #821 (4e32e83) into master (e6f7d6a) will increase coverage by 0.44%.
The diff coverage is 99.12%.

@@            Coverage Diff             @@
##           master     #821      +/-   ##
==========================================
+ Coverage   96.80%   97.25%   +0.44%     
==========================================
  Files          81       82       +1     
  Lines        5380     4913     -467     
==========================================
- Hits         5208     4778     -430     
+ Misses        172      135      -37     
Impacted Files Coverage Δ
weldx/geometry.py 96.61% <ø> (ø)
weldx/core/math_expression.py 98.50% <98.50%> (ø)
weldx/core/spatial_series.py 100.00% <100.00%> (ø)
weldx/core/generic_series.py

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@marscher marscher requested a review from CagtayFabry October 31, 2022 13:41
@marscher
Copy link
Contributor Author

In my opinion the code is better maintainable, if modules are kept smaller.

The complains of static analysis are not new, but now show up as being newly introduced.
Regarding the RTD issues, I'm not able to reproduce these locally. But I think they are also not related to the changes made here.

Copy link
Member

@CagtayFabry CagtayFabry left a comment

Choose a reason for hiding this comment

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

I agree, this should be easier to maintain and keep clean 👍
thanks for doing this

@marscher marscher merged commit cfac317 into BAMWelDX:master Nov 1, 2022
@marscher marscher deleted the splitup_core branch November 1, 2022 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants