The Verilog-2001 combined port and I/O declaration style should be used in module/program/interface declarations. The deprecated Verilog-95 list style should not be used.
module fly(a, b); input wire [2:0] a; output reg b; ... endmodule : fly
module fly ( input logic[2:0] a, output logic b ); ... endmodule : fly