fix flake8 linter issues

pull/7102/head
Nils Dijk 2023-09-05 15:40:30 +02:00
parent 298a55bb5f
commit 4cfee75af9
1 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@ def main(args):
with open(target_path, 'w') as f: with open(target_path, 'w') as f:
json.dump(c_cpp_properties, f, indent=4) json.dump(c_cpp_properties, f, indent=4)
def generate_configuration(version): def generate_configuration(version):
"""Returns a configuration for the given postgres version. """Returns a configuration for the given postgres version.
@ -77,6 +78,7 @@ def generate_configuration(version):
"configurationProvider": "ms-vscode.makefile-tools" "configurationProvider": "ms-vscode.makefile-tools"
} }
if __name__ == '__main__': if __name__ == '__main__':
arguments = docopt(__doc__, version='0.1.0') arguments = docopt(__doc__, version='0.1.0')
main(arguments) main(arguments)