mirror of https://github.com/ecmwf/eccodes.git
Make sure generated python passes isort checks
This commit is contained in:
parent
ee6a747f18
commit
923bc5ff61
|
@ -869,9 +869,9 @@ static void header(grib_dumper* d, grib_handle* h)
|
|||
fprintf(self->dumper.out, "# Using ecCodes version: ");
|
||||
grib_print_api_version(self->dumper.out);
|
||||
fprintf(self->dumper.out, "\n\n");
|
||||
fprintf(self->dumper.out, "from __future__ import print_function\n");
|
||||
fprintf(self->dumper.out, "import traceback\n");
|
||||
fprintf(self->dumper.out, "from __future__ import print_function\n\n");
|
||||
fprintf(self->dumper.out, "import sys\n");
|
||||
fprintf(self->dumper.out, "import traceback\n\n");
|
||||
fprintf(self->dumper.out, "from eccodes import *\n\n\n");
|
||||
fprintf(self->dumper.out, "def bufr_encode():\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue