Skip to content

Commit

Permalink
Merge pull request #309 from jcpunk/class-best-practices
Browse files Browse the repository at this point in the history
Pylint prefers class attributes be defined in __init__
  • Loading branch information
meeg authored Feb 7, 2025
2 parents 518ff44 + 347aa5b commit 8d350ed
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qick_lib/qick/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.307
0.2.309
12 changes: 12 additions & 0 deletions qick_lib/qick/qick.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,18 @@ def __init__(self, bitfile=None, force_init_clks=False, ignore_version=True, no_
self['board'] = os.environ["BOARD"]
self['sw_version'] = get_version()

# Signal generators (anything driven by the tProc)
self.gens = []

# Constant generators
self.iqs = []

# Average + Buffer blocks.
self.avg_bufs = []

# Readout blocks.
self.readouts = []

# a space to dump any additional lines of config text which you want to print in the QickConfig
self['extra_description'] = []

Expand Down

0 comments on commit 8d350ed

Please sign in to comment.