Skip to content

Commit aee5970

Browse files
committed
fix: separate pylint config for opentracing example to resolve FIXME
1 parent 1d6171b commit aee5970

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ envlist =
3939
py3{9,10,11,12,13,14,14t}-test-opentelemetry-opentracing-shim
4040
pypy3-test-opentelemetry-opentracing-shim
4141
lint-opentelemetry-opentracing-shim
42+
lint-opentelemetry-opentracing-example
4243

4344
py3{9,10,11,12,13,14}-test-opentelemetry-opencensus-shim
4445
; opencensus-shim intentionally excluded from pypy3 (grpcio install fails)
@@ -408,3 +409,12 @@ deps =
408409
pre-commit
409410
commands =
410411
pre-commit run --color=always --all-files {posargs}
412+
413+
[testenv:lint-opentelemetry-opentracing-example]
414+
deps =
415+
-r dev-requirements.txt
416+
-r {toxinidir}/docs/examples/opentracing/requirements.txt
417+
setenv =
418+
PYTHONPATH = {toxinidir}/docs/examples/opentracing
419+
commands =
420+
pylint --rcfile {toxinidir}/.pylintrc --disable=unexpected-line-ending-format {toxinidir}/docs/examples/opentracing

0 commit comments

Comments
 (0)