Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Mar 10, 2023
1 parent ebee924 commit a696811
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions semantic-conventions/src/opentelemetry/semconv/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def exclude_file_list(folder: str, pattern: str) -> List[str]:

def filter_semconv(semconv, types_filter):
if types_filter:
types = types_filter.replace(" ", "").split(',')
types = types_filter.replace(" ", "").split(",")
semconv.models = {
id: model
for id, model in semconv.models.items()
Expand Down Expand Up @@ -221,7 +221,9 @@ def setup_parser():
Resolution of referenced attributes (using `ref`), or semantic conventions
(using `exclude` or `include`) is done against all semantic convention
files provided as input using `--yaml-root` or `YAML_FILE` options.
""".format(', '.join(CONVENTION_CLS_BY_GROUP_TYPE.keys())),
""".format(
", ".join(CONVENTION_CLS_BY_GROUP_TYPE.keys())
),
)
parser.add_argument(
"--yaml-root",
Expand Down

0 comments on commit a696811

Please sign in to comment.