Skip to content

Commit aa025a2

Browse files
committed
some fixes to generate.sh in semconv
Signed-off-by: emdneto <[email protected]>
1 parent d485e24 commit aa025a2

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ select = [
2828
"F", # pyflakes
2929
"E", # pycodestyle errors
3030
"W", # pycodestyle warnings
31-
"PLC", # pylint - convention
32-
"PLE", # pylint - error
31+
"PLC", # pylint convention
32+
"PLE", # pylint error
3333
"Q", # flake8-quotes
3434
]
3535

scripts/semconv/generate.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,4 @@ mkdir -p ${ROOT_DIR}/opentelemetry-semantic-conventions/src/opentelemetry/semcon
5858
generate "./" "./${INCUBATING_DIR}/" "any"
5959

6060
cd "$ROOT_DIR"
61-
${ROOT_DIR}/.tox/lint/bin/black --config pyproject.toml ${ROOT_DIR}/opentelemetry-semantic-conventions/src/opentelemetry/semconv
62-
${ROOT_DIR}/.tox/lint/bin/isort ${ROOT_DIR}/opentelemetry-semantic-conventions/src/opentelemetry/semconv
61+
tox -e ruff

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,4 +401,4 @@ deps =
401401
-c {toxinidir}/dev-requirements.txt
402402
pre-commit
403403
commands =
404-
pre-commit run -a --color=always
404+
pre-commit run --color=always --all-files {posargs}

0 commit comments

Comments
 (0)