Skip to content

Commit

Permalink
pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed May 18, 2022
1 parent 0462993 commit 26cc6a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def _create_views():
def _write_report(output):
reader = ProvenanceReader()
for data in reader.run_query("select * from redundancy_by_core"):
(x, y, p, source, received, filtered, invalid, failed,
redundant, total, percent) = data
(_, _, _, source, _, filtered, invalid, _,
redundant, total, percent) = data
output.write(f"\ncore {source} \n")
output.write(f" {total} packets received. \n")
output.write(f" {redundant} were detected as "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ def create_machine_vertices(self, resource_tracker, machine_graph):

if remaining_poisson_vertices:
logger.warning(
"Vertex {} is using multicast for"
" {} one-to-one Poisson"
"Vertex {} is using multicast for {} one-to-one Poisson"
" sources as not enough cores exist to put them on the"
" same chip", label, len(remaining_poisson_vertices))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def __init__(
super().__init__(safe, callback, verbose, rng)
self.__rewiring = rewiring
self.__degree = degree
# pylint:disable=unused-private-member
self.__allow_self_connections = allow_self_connections

if n_connections is not None:
Expand Down

0 comments on commit 26cc6a2

Please sign in to comment.