Skip to content

Commit

Permalink
Remove unused arguments to Settings.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
iafisher committed Feb 13, 2019
1 parent c199df2 commit 8bd8bf9
Showing 1 changed file with 9 additions and 23 deletions.
32 changes: 9 additions & 23 deletions hera/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,17 @@
class Settings:
"""Global settings of the interpreter."""

def __init__(
self,
*,
allow_interrupts=False,
code=False,
color=True,
data=False,
data_start=DEFAULT_DATA_START,
debug=False,
no_debug_ops=False,
stdout=False,
volume=VOLUME_NORMAL,
warn_octal_on=True,
warn_return_on=True
):
self.allow_interrupts = allow_interrupts
self.code = code
def __init__(self, *, color=True, debug=False, volume=VOLUME_NORMAL):
self.allow_interrupts = False
self.code = False
self.color = color
self.data = data
self.data_start = data_start
self.data = False
self.data_start = DEFAULT_DATA_START
self.debug = debug
self.no_debug_ops = no_debug_ops
self.stdout = stdout
self.warn_octal_on = warn_octal_on
self.warn_return_on = warn_return_on
self.no_debug_ops = False
self.stdout = False
self.warn_octal_on = True
self.warn_return_on = True
self.volume = volume
self.warning_count = 0

Expand Down

0 comments on commit 8bd8bf9

Please sign in to comment.