Skip to content

Commit

Permalink
Separate lint for sdk-extension-aws
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Apr 26, 2024
1 parent 5b7bd59 commit 07a8bf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/lint_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
# to both GitHub-hosted and self-hosted runners."
- "instrumentation-flask"
- "resource-detector-container"
- "sdk-extension-aws"
os: [ubuntu-20.04]
runs-on: ubuntu-20.04
steps:
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ envlist =
; opentelemetry-sdk-extension-aws
py3{8,9,10,11}-test-sdk-extension-aws
pypy3-test-sdk-extension-aws
lint-sdk-extension-aws

; opentelemetry-distro
py3{8,9,10,11}-test-distro
Expand Down Expand Up @@ -752,7 +753,13 @@ commands =
test-instrumentation-httpx: pytest {toxinidir}/instrumentation/opentelemetry-instrumentation-httpx/tests {posargs}
test-instrumentation-asyncio: pytest {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncio/tests {posargs}
test-util-http: pytest {toxinidir}/util/opentelemetry-util-http/tests {posargs}

test-sdk-extension-aws: pytest {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws/tests {posargs}
lint-sdk-extension-aws: black --diff --check --config {toxinidir}/pyproject.toml {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws
lint-sdk-extension-aws: isort --diff --check-only --settings-path {toxinidir}/.isort.cfg {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws
lint-sdk-extension-aws: flake8 --config {toxinidir}/.flake8 {toxinidir}/instrumentation/opentelemetry-sdk-extension-aws
lint-sdk-extension-aws: pylint {toxinidir}/instrumentation/opentelemetry-sdk-extension-aws/src/opentelemetry
lint-sdk-extension-aws: pylint {toxinidir}/instrumentation/opentelemetry-sdk-extension-aws/tests

test-resource-detector-container: pytest {toxinidir}/resource/opentelemetry-resource-detector-container/tests {posargs}
lint-resource-detector-container: black --diff --check --config {toxinidir}/pyproject.toml {toxinidir}/resource/opentelemetry-resource-detector-container
Expand Down Expand Up @@ -862,7 +869,6 @@ commands_pre =
pip install -r {toxinidir}/processor/opentelemetry-processor-baggage/test-requirements.txt
pip install -r {toxinidir}/propagator/opentelemetry-propagator-aws-xray/test-requirements.txt
pip install -r {toxinidir}/propagator/opentelemetry-propagator-ot-trace/test-requirements.txt
pip install -r {toxinidir}/sdk-extension/opentelemetry-sdk-extension-aws/test-requirements.txt
pip install -r {toxinidir}/opentelemetry-distro/test-requirements.txt

commands =
Expand Down

0 comments on commit 07a8bf4

Please sign in to comment.