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

Removed unnecessary factory class Closes #101 #351

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

araf0216
Copy link

Removed the PyscalFactory class from factory.py such that all the static methods within are now individual functions that can be used and accessed without having reference the PyscalFactory class (all of the references were also removed appropriately).

@berland berland linked an issue Nov 24, 2021 that may be closed by this pull request
@lgtm-com
Copy link

lgtm-com bot commented Nov 24, 2021

This pull request introduces 1 alert when merging 718f3f7 into d727f07 - view on LGTM.com

new alerts:

  • 1 for 'import *' may pollute namespace

@codecov-commenter
Copy link

codecov-commenter commented Nov 24, 2021

Codecov Report

Merging #351 (79c56bb) into master (d727f07) will decrease coverage by 0.00%.
The diff coverage is 98.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #351      +/-   ##
==========================================
- Coverage   98.72%   98.71%   -0.01%     
==========================================
  Files          16       16              
  Lines        2506     2490      -16     
==========================================
- Hits         2474     2458      -16     
  Misses         32       32              
Impacted Files Coverage Δ
pyscal/factory.py 98.55% <98.12%> (-0.05%) ⬇️
pyscal/__init__.py 95.83% <100.00%> (ø)
pyscal/pyscalcli.py 98.46% <100.00%> (-0.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d727f07...79c56bb. Read the comment docs.

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.

factory.py does not need to contain a class.
2 participants