Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit c0ea828

Browse files
authored
Update nox config to run on both trace and stats(PR pending) (#153)
1 parent ab3f3d5 commit c0ea828

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

nox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def unit(session, py):
3535
session.run(
3636
'py.test',
3737
'--quiet',
38-
'--cov=opencensus.trace',
38+
'--cov=opencensus',
3939
'--cov-append',
4040
'--cov-config=.coveragerc',
4141
'--cov-report=',
@@ -83,7 +83,7 @@ def lint(session):
8383
session.interpreter = 'python3.6'
8484
session.install('flake8')
8585
session.install('.')
86-
session.run('flake8', 'opencensus/trace')
86+
session.run('flake8', 'opencensus/')
8787

8888

8989
@nox.session

opencensus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
try:
1616
import pkg_resources
1717
pkg_resources.declare_namespace(__name__)
18-
except ImportError:
18+
except ImportError: # pragma: NO COVER
1919
import pkgutil
2020
__path__ = pkgutil.extend_path(__path__, __name__)

0 commit comments

Comments
 (0)