From 3eea3dfa5576ffa9b74f7aa10ec8700ebbd20de1 Mon Sep 17 00:00:00 2001 From: David Halls Date: Sat, 15 Jun 2024 07:29:03 +0100 Subject: [PATCH] Changes for pyright #55 https://github.com/microsoft/pyright/issues/2277#issuecomment-937468789 --- dxf/__init__.py | 3 +- htmlcov/index.html | 87 +++++++++++++++++++++++++-------------------- htmlcov/status.json | 2 +- 3 files changed, 50 insertions(+), 42 deletions(-) diff --git a/dxf/__init__.py b/dxf/__init__.py index 9dda326..98521a2 100644 --- a/dxf/__init__.py +++ b/dxf/__init__.py @@ -18,8 +18,7 @@ from jwcrypto import jwk, jws # type: ignore import www_authenticate # type: ignore -# pylint: disable=wildcard-import -from dxf import exceptions +from . import exceptions as exceptions # pylint: disable=useless-import-alias _schema1_mimetype = 'application/vnd.docker.distribution.manifest.v1+json' diff --git a/htmlcov/index.html b/htmlcov/index.html index c5be922..9433960 100644 --- a/htmlcov/index.html +++ b/htmlcov/index.html @@ -1,11 +1,11 @@ - + Coverage report - - - + + +
@@ -16,13 +16,13 @@

Coverage report:
- + +
+ + +
+

+ Files + Functions + Classes +

- coverage.py v6.5.0, - created at 2023-11-29 21:36 +0000 + coverage.py v7.5.3, + created at 2024-06-15 07:28 +0100

@@ -55,44 +64,44 @@

Coverage report: - - - - - - - + + + + + + + - - - - + + + + - - - + + + - - + + - + - + - - + + - - - + + +
ModulestatementsmissingexcludedbranchespartialcoverageFilestatementsmissingexcludedbranchespartialcoverage
dxf/__init__.py43524
dxf/__init__.py43223 01692292%1592192%
dxf/main.py
dxf/main.py 174 3 0140126 398%98%
Total6092760626 03092594%2852494%
@@ -103,16 +112,16 @@

Coverage report: diff --git a/htmlcov/status.json b/htmlcov/status.json index 6d22764..9f65121 100644 --- a/htmlcov/status.json +++ b/htmlcov/status.json @@ -1 +1 @@ -{"format":2,"version":"6.5.0","globals":"d9292f9cfa1c44033032a51137dfc783","files":{"d_02c8e0ddae5e8f6a___init___py":{"hash":"c7627140425c7e07c6afb54379d33fd6","index":{"nums":[0,1,435,0,24,169,22,26],"html_filename":"d_02c8e0ddae5e8f6a___init___py.html","relative_filename":"dxf/__init__.py"}},"d_02c8e0ddae5e8f6a_main_py":{"hash":"39bb80ec70c6d0b9f1c1e7025995f8c2","index":{"nums":[0,1,174,0,3,140,3,3],"html_filename":"d_02c8e0ddae5e8f6a_main_py.html","relative_filename":"dxf/main.py"}}}} \ No newline at end of file +{"note":"This file is an internal implementation detail to speed up HTML report generation. Its format can change at any time. You might be looking for the JSON report: https://coverage.rtfd.io/cmd.html#cmd-json","format":5,"version":"7.5.3","globals":"c20610d2aea6aab5b038572b77a553cc","files":{"z_02c8e0ddae5e8f6a___init___py":{"hash":"df593c4e08ddbc9ab0329d5d73efaf44","index":{"url":"z_02c8e0ddae5e8f6a___init___py.html","file":"dxf/__init__.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":432,"n_excluded":0,"n_missing":23,"n_branches":159,"n_partial_branches":21,"n_missing_branches":25}}},"z_02c8e0ddae5e8f6a_main_py":{"hash":"d705e37544ecf64fe80c72bd0601bf77","index":{"url":"z_02c8e0ddae5e8f6a_main_py.html","file":"dxf/main.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":174,"n_excluded":0,"n_missing":3,"n_branches":126,"n_partial_branches":3,"n_missing_branches":3}}}}} \ No newline at end of file