mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 20:52:57 +08:00
Working on lint tests
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -83,4 +83,4 @@ jobs:
|
|||||||
path: .tox
|
path: .tox
|
||||||
key: tox-cache-${{ matrix.tox-environment }}-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}
|
key: tox-cache-${{ matrix.tox-environment }}-${{ hashFiles('tox.ini', 'dev-requirements.txt') }}
|
||||||
- name: run tox
|
- name: run tox
|
||||||
run: tox -e ${{ matrix.tox-environment }}
|
run: tox -e ${{ matrix.tox-environment }}
|
||||||
|
@ -13,6 +13,6 @@ line_length=79
|
|||||||
; docs: https://github.com/timothycrosley/isort#multi-line-output-modes
|
; docs: https://github.com/timothycrosley/isort#multi-line-output-modes
|
||||||
multi_line_output=3
|
multi_line_output=3
|
||||||
skip=target
|
skip=target
|
||||||
skip_glob=**/gen/*,.venv*/*,venv*/*,reference*/*,opentelemetry-python-core*/*
|
skip_glob=**/gen/*,.venv*/*,venv*/*,reference*/*,opentelemetry-python-core/*
|
||||||
known_first_party=opentelemetry
|
known_first_party=opentelemetry
|
||||||
known_third_party=psutil,pytest,redis,redis_opentracing
|
known_third_party=psutil,pytest,redis,redis_opentracing
|
||||||
|
@ -488,4 +488,4 @@ min-public-methods=2
|
|||||||
|
|
||||||
# Exceptions that will emit a warning when being caught. Defaults to
|
# Exceptions that will emit a warning when being caught. Defaults to
|
||||||
# "Exception".
|
# "Exception".
|
||||||
overgeneral-exceptions=Exception
|
overgeneral-exceptions=Exception
|
||||||
|
@ -21,4 +21,4 @@ subglob=*.py,tests/,test/,src/*,examples/*
|
|||||||
|
|
||||||
[testroots]
|
[testroots]
|
||||||
extraroots=examples/*,tests/
|
extraroots=examples/*,tests/
|
||||||
subglob=tests/,test/
|
subglob=tests/,test/
|
||||||
|
@ -3,7 +3,7 @@ line-length = 79
|
|||||||
exclude = '''
|
exclude = '''
|
||||||
(
|
(
|
||||||
/(
|
/(
|
||||||
reference|
|
reference| # original files from DataDog
|
||||||
opentelemetry-python-core
|
opentelemetry-python-core
|
||||||
)/
|
)/
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user