From 1a4532bb55719251abdd5ddccdb088aea155a842 Mon Sep 17 00:00:00 2001 From: lekcyjna123 <34948061+lekcyjna123@users.noreply.github.com> Date: Sat, 7 Oct 2023 17:12:07 +0200 Subject: [PATCH] Remove new line after """ --- coreblocks/fu/fu_decoder.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/coreblocks/fu/fu_decoder.py b/coreblocks/fu/fu_decoder.py index 6aecd8b3d..717c3ff3a 100644 --- a/coreblocks/fu/fu_decoder.py +++ b/coreblocks/fu/fu_decoder.py @@ -44,9 +44,7 @@ def elaborate(self, platform): class DecoderManager: - """ - Class responsible for instruction management. - """ + """ Class responsible for instruction management.""" """ Type[IntFlag] @@ -56,8 +54,7 @@ class DecoderManager: Fn: Type[IntFlag] def get_instructions(self) -> Sequence[tuple]: - """ - Method providing list of valid instruction. + """ Method providing list of valid instruction. Returns ------- @@ -69,8 +66,7 @@ def get_instructions(self) -> Sequence[tuple]: raise NotImplementedError def get_op_types(self) -> set[OpType]: - """ - Method returning op types from listed instructions. + """ Method returning op types from listed instructions. Returns ------- @@ -80,8 +76,7 @@ def get_op_types(self) -> set[OpType]: return {instr[1] for instr in self.get_instructions()} def get_decoder(self, gen_params: GenParams) -> Decoder: - """ - Method returning auto generated instruction decoder. + """ Method returning auto generated instruction decoder. Parameters ---------- @@ -101,8 +96,7 @@ def get_decoder(self, gen_params: GenParams) -> Decoder: return Decoder(gen_params, self.Fn, self.get_instructions(), check_optype=multiple_op_types) def get_function(self) -> Value: - """ - Method returning Signal Object for decoder, called function in FU blocks + """ Method returning Signal Object for decoder, called function in FU blocks Returns -------