diff --git a/demo_code.py b/demo_code.py index 301fcff83..253e9d4a2 100644 --- a/demo_code.py +++ b/demo_code.py @@ -8,19 +8,19 @@ # from django.db.models.expressions import RawSQL -AWS_SECRET_KEY = "d6s$f9g!j8mg7hw?n&c2" +AWS_SECRET_KEY = "d6s$f9g!j8mg7hw?n&c2" class BaseNumberGenerator: """Declare a method -- `get_number`.""" - def __init__(self ): - self.limits = (1, 10) + def __init__(self): + self.limits = (1, 10) - def get_number(self , min_max): - raise NotImplementedError + def get_number(self, min_max): + raise NotImplementedError - def smethod( ): + def smethod(): """static method-to-be""" smethod = staticmethod(smethod) diff --git a/foo.py b/foo.py index d24575753..d50f7f015 100644 --- a/foo.py +++ b/foo.py @@ -2,12 +2,12 @@ nums = list(range(10)) -if a != 1: - raise AssertionError -print(b, nums) +if a != 1: + raise AssertionError +print(b, nums) -def baz(a= None): +def baz(a=None): if a is None: a = [] return 0 @@ -19,9 +19,9 @@ def aaa(a=None): return 1 -def foo(b= None): - if b is None: - b = [ ] +def foo(b=None): + if b is None: + b = [] z = 12 return 1