Skip to content

Commit

Permalink
fixup! auto lint fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
willcl-ark committed Jan 22, 2024
1 parent be81ac1 commit 5944bea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/apidocs.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import re
import os
import re
from pathlib import Path

from click import Context
from warnet.cli.main import cli
from tabulate import tabulate
from pathlib import Path
from warnet.cli.main import cli

doc = ""

Expand Down Expand Up @@ -38,7 +39,7 @@ def print_cmd(cmd, super=''):

file_path = Path(os.path.dirname(os.path.abspath(__file__))) / ".." / "docs" / "warcli.md"

with open(file_path, "r") as file:
with open(file_path) as file:
text = file.read()

pattern = r"(## API Commands\n)(.*\n)*?(# Next)"
Expand Down

0 comments on commit 5944bea

Please sign in to comment.