mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-12-17 10:28:57 +03:00
Convert all .py files to be valid Python
`raise NotImplementedError('Please replace this line with your code...')` signals to the user where they need to put their code.
This approach enables the codebase to be tested with lint tools like flake8, pyflakes, pylint, etc.
This commit is contained in:
@@ -92,7 +92,7 @@ class BlackJackHand(Hand):
|
||||
|
||||
def possible_scores(self):
|
||||
"""Return a list of possible scores, taking Aces into account."""
|
||||
# ...
|
||||
pass
|
||||
|
||||
|
||||
class Deck(object):
|
||||
@@ -113,4 +113,5 @@ class Deck(object):
|
||||
return None
|
||||
return card
|
||||
|
||||
def shuffle(self): # ...
|
||||
def shuffle(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user