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

Develop #39

Merged
merged 17 commits into from
Aug 20, 2020
Merged

Develop #39

merged 17 commits into from
Aug 20, 2020

Conversation

djdebonis
Copy link
Collaborator

large portion of farm.py is covered & passing

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (develop@fed981f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop      #39   +/-   ##
==========================================
  Coverage           ?   43.44%           
==========================================
  Files              ?        5           
  Lines              ?      267           
  Branches           ?       38           
==========================================
  Hits               ?      116           
  Misses             ?      141           
  Partials           ?       10           

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 fed981f...210b843. Read the comment docs.

@mathematicalmichael mathematicalmichael merged commit 25d87d7 into mindthegrow:develop Aug 20, 2020
@@ -5,12 +5,14 @@ class Farm:

def __init__(self, farmerName:str='Farmer',
cuerdas:float=1,
treeType:str='Borbon',
treeType:str='Borbón',
Copy link
Collaborator

Choose a reason for hiding this comment

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

make sure 'borbon' as an argument behaves the same for those of us without convenient access to accents on keyboards ;D

self.farmerName = farmerName

self.inheretTreeProperties(treeType)
self.inheretTreeProperties(treeType, treeAttributes)
Copy link
Collaborator

Choose a reason for hiding this comment

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

good.

# as soon as yaml imports are tested, this can be deleted:
# temporary stand-in for variable testing
else:
if (treeType =='borbon') or (treeType == 'borbón'):
Copy link
Collaborator

Choose a reason for hiding this comment

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

use the str library or something similar to standardize stripping/formatting instead of trying to catch this

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.

3 participants