formatting tweaks

This commit is contained in:
John Lancaster
2024-03-18 18:53:20 -05:00
parent c0d7871676
commit e9d5d3ce4e
5 changed files with 6 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
Foo: Foo:
module: foo module: my_pkg
class: Foo class: Foo
Bar: Bar:
module: my_pkg module: my_pkg.my_sub_pkg
class: Bar class: Bar
Baz: Baz:

View File

@@ -15,4 +15,4 @@ class Foo(ADBase):
# self.adapi.log(f'New log line: {self.changes}') # self.adapi.log(f'New log line: {self.changes}')
# self.adapi.log(f'Even newer log line: {self.changes}') # self.adapi.log(f'Even newer log line: {self.changes}')
print(f'Done, motion.changes = {Foo.changes}'.center(50, '-')) print(f'Foo.changes = {Foo.changes}'.center(50, '-'))

View File

@@ -2,4 +2,4 @@ print(f' Importing {__name__} '.center(50, '+'))
from .bar import Bar from .bar import Bar
print(f' Done {__name__} '.center(50, '=')) print(f' Done {__name__} '.center(50, '+'))

View File

@@ -8,5 +8,5 @@ print(f' Importing {filename} '.center(50, '-'))
class Bar(ADBase): class Bar(ADBase):
def initialize(self): def initialize(self):
self.adapi = self.get_ad_api() self.adapi = self.get_ad_api()
self.adapi.log(f'Initialized app from {__file__}') self.adapi.log(f'Initialized app from {filename}')
# self.adapi.log(f'CHANGED') # self.adapi.log(f'CHANGED')

View File

@@ -8,5 +8,5 @@ print(f' Importing {filename} '.center(50, '-'))
class Baz(ADBase): class Baz(ADBase):
def initialize(self): def initialize(self):
self.adapi = self.get_ad_api() self.adapi = self.get_ad_api()
self.adapi.log(f'Initialized app from {__file__}') self.adapi.log(f'Initialized app from {filename}')
# self.adapi.log(f'CHANGED') # self.adapi.log(f'CHANGED')