docs: docstring formatting

Let's use the pythonic indenting, quoting and structure in general as
specified in PEP 0257.

Change-Id: Icd0b4fbd94dabd9a163ae3f6887b236e76c486ab
This commit is contained in:
Jan Kundrát
2023-04-18 01:32:47 +02:00
parent 2a07eec966
commit 76e9146043
25 changed files with 228 additions and 277 deletions

View File

@@ -1,12 +1,12 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''
"""
gnpy.tools.cli_examples
=======================
Common code for CLI examples
'''
"""
import argparse
import logging
@@ -48,7 +48,7 @@ def show_example_data_dir():
def load_common_data(equipment_filename, topology_filename, simulation_filename, save_raw_network_filename):
'''Load common configuration from JSON files'''
"""Load common configuration from JSON files"""
try:
equipment = load_equipment(equipment_filename)