Skip to content

Commit

Permalink
style(fdsetgen.py): run black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 4, 2021
1 parent a936f08 commit dfa85ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion protoletariat/fdsetgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import abc
import fnmatch
import os
import re
import subprocess
import tempfile
import os
from pathlib import Path
from typing import Callable, Iterable, Sequence

Expand All @@ -15,6 +15,7 @@

_PROTO_SUFFIX_PATTERN = re.compile(r"^(.+)\.proto$")


def _remove_proto_suffix(name: str) -> str:
"""Remove the `.proto` suffix from `name`."""
return _PROTO_SUFFIX_PATTERN.sub(r"\1", name)
Expand Down

0 comments on commit dfa85ba

Please sign in to comment.