Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: type hints fixes and mypy in tox #1269

Merged
merged 14 commits into from
Jul 23, 2024
Merged

refactor: type hints fixes and mypy in tox #1269

merged 14 commits into from
Jul 23, 2024

Conversation

sbrunato
Copy link
Collaborator

Fixes type hints and adds mypy check in tox -e linters

Copy link
Contributor

github-actions bot commented Jul 23, 2024

badge

Code Coverage (Ubuntu)

Filename                                     Stmts    Miss  Cover    Missing
-----------------------------------------  -------  ------  -------  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
__init__.py                                      8       0  100.00%
cli.py                                         303      50  83.50%   654-700, 802-853, 857
config.py                                      356      27  92.42%   81-83, 92, 100, 104-106, 183, 195, 468-470, 534-537, 584-585, 594-595, 674, 743-748, 750
crunch.py                                        5       5  0.00%    20-24
api/__init__.py                                  0       0  100.00%
api/core.py                                    752      75  90.03%   373, 598, 642-645, 683, 720, 750, 798, 802-807, 833, 929, 1012, 1149, 1239-1251, 1291, 1293, 1321, 1325-1336, 1349-1355, 1445-1448, 1481-1501, 1557, 1574-1577, 1589-1592, 1614-1621, 1947, 1980-1986, 2253, 2257-2260, 2274-2276, 2311
api/search_result.py                            51       4  92.16%   75, 84, 91, 105
api/product/__init__.py                          6       0  100.00%
api/product/_assets.py                          48       5  89.58%   80, 157, 167, 170-174
api/product/_product.py                        187      20  89.30%   70-72, 242-243, 325, 354, 415, 429-432, 445, 469-472, 515-521
api/product/metadata_mapping.py                675      81  88.00%   131-133, 234, 266-267, 313-314, 324-336, 338, 349, 355-367, 412-413, 450, 471-474, 497, 505-506, 582-583, 607-608, 614-617, 632-633, 782, 828, 1002-1007, 1138, 1152-1172, 1192, 1197, 1307, 1329, 1343, 1356-1375, 1414, 1466, 1504-1508, 1527
api/product/drivers/__init__.py                  6       0  100.00%
api/product/drivers/base.py                      6       1  83.33%   41
plugins/__init__.py                              0       0  100.00%
plugins/base.py                                 21       2  90.48%   48, 55
plugins/manager.py                             130      12  90.77%   105-110, 160, 201, 223, 227, 253, 292-293
plugins/apis/__init__.py                         0       0  100.00%
plugins/apis/base.py                             4       0  100.00%
plugins/apis/ecmwf.py                           91       8  91.21%   150-152, 199-200, 226-228
plugins/apis/usgs.py                           180      31  82.78%   132, 233, 267, 302-304, 309, 335-336, 341, 371-378, 389-394, 416-422, 424-430, 453
plugins/authentication/__init__.py               6       1  83.33%   31
plugins/authentication/aws_auth.py              19       0  100.00%
plugins/authentication/base.py                  17       2  88.24%   34, 47
plugins/authentication/generic.py               14       2  85.71%   40, 50
plugins/authentication/header.py                19       0  100.00%
plugins/authentication/keycloak.py              46       4  91.30%   132, 156-161
plugins/authentication/oauth.py                 13       7  46.15%   32-34, 38-41
plugins/authentication/openid_connect.py       183      17  90.71%   119, 133-158, 166, 320-323, 347
plugins/authentication/qsauth.py                34       1  97.06%   83
plugins/authentication/sas_auth.py              47       1  97.87%   76
plugins/authentication/token.py                 88      16  81.82%   79, 107, 109, 131-143, 198-202
plugins/authentication/token_exchange.py        35      19  45.71%   74-80, 92-120
plugins/crunch/__init__.py                       0       0  100.00%
plugins/crunch/base.py                          10       1  90.00%   40
plugins/crunch/filter_date.py                   59      14  76.27%   51-56, 70, 79, 88, 91, 103-105, 114-116, 123
plugins/crunch/filter_latest_intersect.py       47       8  82.98%   51-52, 71, 80-83, 85, 92-95
plugins/crunch/filter_latest_tpl_name.py        31       1  96.77%   87
plugins/crunch/filter_overlap.py                66      18  72.73%   28-30, 72-75, 82-85, 91, 99, 110-126
plugins/crunch/filter_property.py               30       7  76.67%   58-63, 66-67, 83-87
plugins/download/__init__.py                     0       0  100.00%
plugins/download/aws.py                        489     163  66.67%   273, 286, 353-356, 370-374, 420-422, 426, 460-461, 467-471, 504, 539, 543, 550, 580-588, 592, 630-638, 645-647, 688-762, 780-841, 852-857, 873-886, 915, 930-932, 935, 945-953, 961-974, 984-1015, 1022-1034, 1075, 1101, 1146-1148, 1368
plugins/download/base.py                       253      51  79.84%   145, 180, 319-320, 340-346, 377-381, 387-388, 432, 435-449, 461, 465, 538-542, 572-573, 581-598, 605-613, 615-619, 666, 688, 710, 718
plugins/download/creodias_s3.py                 17       9  47.06%   44-58
plugins/download/http.py                       534     129  75.84%   203-215, 217-218, 253-256, 320-323, 325-326, 333-338, 356-371, 388-390, 402, 450, 457-463, 481, 495, 509, 517-519, 535-540, 551, 569, 611-615, 637, 677, 722, 736-742, 778-842, 860, 893-902, 928-929, 956-961, 967, 970, 986, 1003-1004, 1034-1035, 1042, 1104-1110, 1165-1166, 1172, 1182, 1218, 1254, 1272-1288, 1314-1316
plugins/download/s3rest.py                     116      24  79.31%   121, 157, 164, 199, 229-236, 239-241, 245, 258-264, 272-273, 276-280, 303, 324-327
plugins/search/__init__.py                      22       0  100.00%
plugins/search/base.py                         128       9  92.97%   104, 108, 121, 271, 291, 350-351, 371, 380
plugins/search/build_search_result.py          181      23  87.29%   97, 141-142, 148, 159, 295-298, 327, 384-401, 463, 466, 476, 493, 521, 523
plugins/search/cop_marine.py                   197      47  76.14%   55, 63-65, 71-72, 88, 90, 93, 128-130, 142-143, 183-192, 196, 199, 203, 221, 251, 255, 270, 274, 278, 282, 286-290, 296-299, 302-316, 333, 356, 359, 365
plugins/search/creodias_s3.py                   55       3  94.55%   56, 74, 108
plugins/search/csw.py                          105      81  22.86%   58-59, 63-64, 72-120, 126-139, 147-179, 197-238
plugins/search/data_request_search.py          200      67  66.50%   90-93, 109, 121, 125-126, 137, 142, 147, 154, 167-170, 224-225, 229, 239-245, 250, 276-279, 287-298, 315, 317, 324-325, 327-328, 346-350, 383, 393, 404, 417, 423-438, 443
plugins/search/qssearch.py                     664      80  87.95%   391, 395-401, 409-410, 516-522, 572, 588, 598, 625, 627, 670-673, 747-748, 796, 815, 830, 888, 909, 912-913, 922-923, 932-933, 942-943, 970, 1041-1046, 1050-1059, 1093, 1115, 1175, 1224, 1298-1302, 1362, 1365, 1371-1372, 1393, 1420-1432, 1439, 1471-1473, 1483-1489, 1519, 1542, 1557, 1579, 1688-1698
plugins/search/static_stac_search.py            72      10  86.11%   101-128, 144, 157
rest/__init__.py                                 4       2  50.00%   21-22
rest/cache.py                                   33       7  78.79%   35-37, 53-55, 59, 68
rest/config.py                                  26       0  100.00%
rest/constants.py                                7       0  100.00%
rest/core.py                                   234      26  88.89%   281, 365, 475, 702, 709-757
rest/server.py                                 283      53  81.27%   108, 131-133, 246-248, 304-305, 317-333, 425-430, 458, 626-633, 662, 706-707, 730, 803-805, 822-827, 856, 858, 862-863, 867-868
rest/stac.py                                   464     120  74.14%   322, 344, 392-395, 419-445, 450-456, 479-481, 504, 539-540, 568, 581, 626-666, 694-710, 789-802, 809, 865-866, 933, 1001-1003, 1222, 1232-1244, 1257-1279, 1293-1338, 1500-1501
rest/types/__init__.py                           0       0  100.00%
rest/types/collections_search.py                13      13  0.00%    18-44
rest/types/eodag_search.py                     179       5  97.21%   232-236, 289, 292, 360
rest/types/queryables.py                        56       1  98.21%   174
rest/types/stac_search.py                      126       7  94.44%   130, 176, 191-193, 201, 205
rest/utils/__init__.py                          93      12  87.10%   108-109, 128-130, 182, 192-206
rest/utils/cql_evaluate.py                      48       5  89.58%   69, 76, 90, 97, 105
rest/utils/rfc3339.py                           23       3  86.96%   49, 61, 63
types/__init__.py                              114      14  87.72%   53, 70, 129-132, 199, 213-222, 232, 253, 266
types/bbox.py                                   43      19  55.81%   46-61, 72-74, 85-87, 99-101, 113-115, 123
types/download_args.py                           9       0  100.00%
types/queryables.py                             81       0  100.00%
types/search_args.py                            70      18  74.29%   60-64, 71-88, 104
types/whoosh.py                                 15       0  100.00%
utils/__init__.py                              500      37  92.60%   85, 90, 194-195, 204-231, 234, 248, 330-334, 410-414, 435-437, 519, 534, 572-573, 969-972, 980-981, 1022-1023, 1205
utils/constraints.py                           119      37  68.91%   94-103, 144, 149, 153, 164, 190-192, 202, 216-232, 241-252
utils/exceptions.py                             35       1  97.14%   93
utils/import_system.py                          28      19  32.14%   67-81, 93-103
utils/logging.py                                29       1  96.55%   123
utils/notebook.py                               44      23  47.73%   25-29, 36-41, 58-62, 72-78, 83-87
utils/repr.py                                   30       8  73.33%   36, 38, 42, 76, 94-101
utils/requests.py                               55      11  80.00%   69, 96, 98, 100, 102, 104, 123, 131-133, 141
utils/rest.py                                   36       1  97.22%   57
utils/stac_reader.py                           111      45  59.46%   56-57, 63-85, 95-97, 101, 143, 159-162, 215-224, 234-264
TOTAL                                         9534    1624  82.97%

Diff against develop

Filename                                     Stmts    Miss  Cover
-----------------------------------------  -------  ------  -------
cli.py                                          -2      -1  +0.22%
config.py                                       +5       0  +0.11%
api/core.py                                    -10      -9  +1.05%
api/search_result.py                            -3      -2  +3.27%
api/product/_assets.py                          -4      -3  +4.96%
api/product/_product.py                         -8      -7  +3.15%
api/product/metadata_mapping.py                 -3      -2  +0.24%
api/product/drivers/base.py                     -2      -1  +8.33%
plugins/base.py                                 -2      -1  +3.52%
plugins/manager.py                              -4      -3  +1.96%
plugins/apis/ecmwf.py                           -8      -7  +6.36%
plugins/apis/usgs.py                            -6      -5  +2.13%
plugins/authentication/aws_auth.py              -3      -2  +9.09%
plugins/authentication/base.py                  -2      -1  +4.03%
plugins/authentication/generic.py               -2      -1  +4.46%
plugins/authentication/header.py                -2      -1  +4.76%
plugins/authentication/keycloak.py              -3      -2  +3.54%
plugins/authentication/oauth.py                 -2      -1  -0.52%
plugins/authentication/openid_connect.py        -2      -2  +0.98%
plugins/authentication/qsauth.py                -2      -1  +2.62%
plugins/authentication/sas_auth.py              -2      -1  +1.95%
plugins/authentication/token.py                 -2      -1  +0.71%
plugins/crunch/base.py                          -2      -1  +6.67%
plugins/crunch/filter_date.py                   -2      -1  +0.86%
plugins/crunch/filter_latest_intersect.py       -3      -2  +2.98%
plugins/crunch/filter_latest_tpl_name.py        -2      -1  +2.83%
plugins/crunch/filter_overlap.py                -2      -1  +0.67%
plugins/crunch/filter_property.py               -2      -1  +1.67%
plugins/download/aws.py                         -7      -6  +0.74%
plugins/download/base.py                        -7      -6  +1.76%
plugins/download/http.py                        -6      -6  +0.84%
plugins/download/s3rest.py                      -3      -3  +2.00%
plugins/search/__init__.py                      -4      -3  +11.54%
plugins/search/base.py                          -5      -4  +2.74%
plugins/search/build_search_result.py           -2      -1  +0.40%
plugins/search/cop_marine.py                    -3      -2  +0.64%
plugins/search/csw.py                           -3      -2  -0.29%
plugins/search/data_request_search.py           -2      -1  +0.16%
plugins/search/qssearch.py                      +9      +3  -0.29%
plugins/search/static_stac_search.py            -3      -2  +2.11%
rest/core.py                                    -4      -4  +1.50%
rest/server.py                                  -3      -2  +0.50%
rest/stac.py                                    -2      -3  +0.53%
rest/types/eodag_search.py                      -5      -4  +2.10%
rest/types/queryables.py                        -2      -1  +1.66%
rest/types/stac_search.py                       -5      -4  +2.84%
rest/utils/__init__.py                          -2      -1  +0.78%
types/__init__.py                               +4      +3  -2.28%
utils/__init__.py                               -3      -2  +0.35%
utils/exceptions.py                             -2      -1  +2.55%
utils/import_system.py                          -2      -1  -1.19%
TOTAL                                         -144    -114  +0.93%

Results for commit: ec115f0

Minimum allowed coverage is 70%

♻️ This comment has been updated with latest results

Copy link
Contributor

github-actions bot commented Jul 23, 2024

badge

Code Coverage (Windows)

Filename                                     Stmts    Miss  Cover    Missing
-----------------------------------------  -------  ------  -------  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
__init__.py                                      8       0  100.00%
cli.py                                         303      50  83.50%   654-700, 802-853, 857
config.py                                      356      28  92.13%   81-83, 92, 100, 104-106, 183, 195, 468-470, 534-537, 584-585, 594-595, 674, 708, 743-748, 750
crunch.py                                        5       5  0.00%    20-24
api/__init__.py                                  0       0  100.00%
api/core.py                                    752      75  90.03%   373, 598, 642-645, 683, 720, 750, 798, 802-807, 833, 929, 1012, 1149, 1239-1251, 1291, 1293, 1321, 1325-1336, 1349-1355, 1445-1448, 1481-1501, 1557, 1574-1577, 1589-1592, 1614-1621, 1947, 1980-1986, 2253, 2257-2260, 2274-2276, 2311
api/search_result.py                            51       4  92.16%   75, 84, 91, 105
api/product/__init__.py                          6       0  100.00%
api/product/_assets.py                          48       5  89.58%   80, 157, 167, 170-174
api/product/_product.py                        187      20  89.30%   70-72, 242-243, 325, 354, 415, 429-432, 445, 469-472, 515-521
api/product/metadata_mapping.py                675      81  88.00%   131-133, 234, 266-267, 313-314, 324-336, 338, 349, 355-367, 412-413, 450, 471-474, 497, 505-506, 582-583, 607-608, 614-617, 632-633, 782, 828, 1002-1007, 1138, 1152-1172, 1192, 1197, 1307, 1329, 1343, 1356-1375, 1414, 1466, 1504-1508, 1527
api/product/drivers/__init__.py                  6       0  100.00%
api/product/drivers/base.py                      6       1  83.33%   41
plugins/__init__.py                              0       0  100.00%
plugins/base.py                                 21       3  85.71%   48, 55, 68
plugins/manager.py                             130      12  90.77%   105-110, 160, 201, 223, 227, 253, 292-293
plugins/apis/__init__.py                         0       0  100.00%
plugins/apis/base.py                             4       0  100.00%
plugins/apis/ecmwf.py                           91       8  91.21%   150-152, 199-200, 226-228
plugins/apis/usgs.py                           180      31  82.78%   132, 233, 267, 302-304, 309, 335-336, 341, 371-378, 389-394, 416-422, 424-430, 453
plugins/authentication/__init__.py               6       1  83.33%   31
plugins/authentication/aws_auth.py              19       0  100.00%
plugins/authentication/base.py                  17       2  88.24%   34, 47
plugins/authentication/generic.py               14       2  85.71%   40, 50
plugins/authentication/header.py                19       0  100.00%
plugins/authentication/keycloak.py              46       4  91.30%   132, 156-161
plugins/authentication/oauth.py                 13       7  46.15%   32-34, 38-41
plugins/authentication/openid_connect.py       183      17  90.71%   119, 133-158, 166, 320-323, 347
plugins/authentication/qsauth.py                34       1  97.06%   83
plugins/authentication/sas_auth.py              47       1  97.87%   76
plugins/authentication/token.py                 88      16  81.82%   79, 107, 109, 131-143, 198-202
plugins/authentication/token_exchange.py        35      19  45.71%   74-80, 92-120
plugins/crunch/__init__.py                       0       0  100.00%
plugins/crunch/base.py                          10       1  90.00%   40
plugins/crunch/filter_date.py                   59      14  76.27%   51-56, 70, 79, 88, 91, 103-105, 114-116, 123
plugins/crunch/filter_latest_intersect.py       47      33  29.79%   48-53, 69-114
plugins/crunch/filter_latest_tpl_name.py        31       1  96.77%   87
plugins/crunch/filter_overlap.py                66      18  72.73%   28-30, 72-75, 82-85, 91, 99, 110-126
plugins/crunch/filter_property.py               30       7  76.67%   58-63, 66-67, 83-87
plugins/download/__init__.py                     0       0  100.00%
plugins/download/aws.py                        489     163  66.67%   273, 286, 353-356, 370-374, 420-422, 426, 460-461, 467-471, 504, 539, 543, 550, 580-588, 592, 630-638, 645-647, 688-762, 780-841, 852-857, 873-886, 915, 930-932, 935, 945-953, 961-974, 984-1015, 1022-1034, 1075, 1101, 1146-1148, 1368
plugins/download/base.py                       253      53  79.05%   145, 180, 250-252, 319-320, 340-346, 377-381, 387-388, 432, 435-449, 461, 465, 538-542, 572-573, 581-598, 605-613, 615-619, 666, 688, 710, 718
plugins/download/creodias_s3.py                 17       9  47.06%   44-58
plugins/download/http.py                       534     130  75.66%   203-215, 217-218, 253-256, 320-323, 325-326, 333-338, 356-371, 388-390, 402, 450, 457-463, 481, 495, 509, 517-519, 535-540, 551, 569, 611-615, 637, 677, 722, 736-742, 778-842, 860, 893-902, 928-929, 956-961, 967, 970, 986, 1003-1004, 1017, 1034-1035, 1042, 1104-1110, 1165-1166, 1172, 1182, 1218, 1254, 1272-1288, 1314-1316
plugins/download/s3rest.py                     116      24  79.31%   121, 157, 164, 199, 229-236, 239-241, 245, 258-264, 272-273, 276-280, 303, 324-327
plugins/search/__init__.py                      22       0  100.00%
plugins/search/base.py                         128      14  89.06%   104, 108, 121, 271, 291, 350-351, 371, 374-382, 384
plugins/search/build_search_result.py          181      30  83.43%   97, 141-142, 148, 159, 295-298, 327, 384-401, 463, 466, 476, 493, 513-528
plugins/search/cop_marine.py                   197      47  76.14%   55, 63-65, 71-72, 88, 90, 93, 128-130, 142-143, 183-192, 196, 199, 203, 221, 251, 255, 270, 274, 278, 282, 286-290, 296-299, 302-316, 333, 356, 359, 365
plugins/search/creodias_s3.py                   55       3  94.55%   56, 74, 108
plugins/search/csw.py                          105      81  22.86%   58-59, 63-64, 72-120, 126-139, 147-179, 197-238
plugins/search/data_request_search.py          200      67  66.50%   90-93, 109, 121, 125-126, 137, 142, 147, 154, 167-170, 224-225, 229, 239-245, 250, 276-279, 287-298, 315, 317, 324-325, 327-328, 346-350, 383, 393, 404, 417, 423-438, 443
plugins/search/qssearch.py                     664     108  83.73%   391, 395-401, 409-410, 516-522, 572, 575, 588, 598, 617-632, 670-673, 747-748, 796, 815, 830, 888, 909, 912-913, 922-923, 932-933, 942-943, 970, 1041-1046, 1050-1059, 1093, 1115, 1175, 1224, 1298-1302, 1362, 1365, 1371-1372, 1393, 1420-1432, 1439, 1471-1473, 1483-1489, 1519, 1542, 1557, 1579, 1647-1718
plugins/search/static_stac_search.py            72      10  86.11%   101-128, 144, 157
rest/__init__.py                                 4       2  50.00%   21-22
rest/cache.py                                   33      22  33.33%   35-37, 44-70
rest/config.py                                  26       4  84.62%   34-36, 68
rest/constants.py                                7       0  100.00%
rest/core.py                                   234     149  36.32%   167-248, 272-326, 339-375, 412-444, 464-480, 503-514, 523-559, 578, 624-663, 702, 709-757
rest/server.py                                 283     283  0.00%    18-879
rest/stac.py                                   464     393  15.30%   128-134, 142-167, 198-203, 235, 255-378, 388-457, 475-514, 530-583, 593-616, 626-666, 694-710, 720, 736-739, 758-828, 846-882, 911-936, 944-960, 968-973, 983-1010, 1020-1022, 1030-1032, 1045-1047, 1061-1078, 1088-1109, 1119-1141, 1149-1166, 1189-1212, 1222, 1232-1244, 1257-1279, 1293-1338, 1346-1363, 1373-1531
rest/types/__init__.py                           0       0  100.00%
rest/types/collections_search.py                13      13  0.00%    18-44
rest/types/eodag_search.py                     179      15  91.62%   122, 232-236, 269-271, 289, 292, 298, 302, 360, 372-375
rest/types/queryables.py                        56      13  76.79%   51-52, 59-60, 67-68, 97-102, 111-112, 174
rest/types/stac_search.py                      126      18  85.71%   128-130, 154-155, 160-161, 176, 191-193, 201, 205, 252-257
rest/utils/__init__.py                          93      30  67.74%   79-85, 105, 108-109, 128-130, 143, 150, 175-183, 190-211
rest/utils/cql_evaluate.py                      48       5  89.58%   69, 76, 90, 97, 105
rest/utils/rfc3339.py                           23       6  73.91%   41, 44-45, 49, 61, 63
types/__init__.py                              114      39  65.79%   53, 66-70, 81-93, 120-122, 129-132, 172, 199, 209-225, 230, 232, 253, 258, 266, 276
types/bbox.py                                   43      19  55.81%   46-61, 72-74, 85-87, 99-101, 113-115, 123
types/download_args.py                           9       0  100.00%
types/queryables.py                             81       0  100.00%
types/search_args.py                            70      18  74.29%   60-64, 71-88, 104
types/whoosh.py                                 15       0  100.00%
utils/__init__.py                              500      39  92.20%   85, 90, 194-195, 204-231, 234, 248, 330-334, 410-414, 435-437, 519, 534, 572-573, 969-972, 980-981, 1022-1023, 1056, 1205, 1381
utils/constraints.py                           119      37  68.91%   94-103, 144, 149, 153, 164, 190-192, 202, 216-232, 241-252
utils/exceptions.py                             35       1  97.14%   93
utils/import_system.py                          28      19  32.14%   67-81, 93-103
utils/logging.py                                29       1  96.55%   123
utils/notebook.py                               44      23  47.73%   25-29, 36-41, 58-62, 72-78, 83-87
utils/repr.py                                   30       8  73.33%   36, 38, 42, 76, 94-101
utils/requests.py                               55      11  80.00%   69, 96, 98, 100, 102, 104, 123, 131-133, 141
utils/rest.py                                   36       1  97.22%   57
utils/stac_reader.py                           111      45  59.46%   56-57, 63-85, 95-97, 101, 143, 159-162, 215-224, 234-264
TOTAL                                         9534    2420  74.62%

Diff against develop

Filename                                     Stmts    Miss  Cover
-----------------------------------------  -------  ------  --------
cli.py                                          -2      -1  +0.22%
config.py                                       +5       0  +0.11%
api/core.py                                    -10      -9  +1.05%
api/search_result.py                            -3      -2  +3.27%
api/product/_assets.py                          -4      -3  +4.96%
api/product/_product.py                         -8      -7  +3.15%
api/product/metadata_mapping.py                 -3      -2  +0.24%
api/product/drivers/base.py                     -2      -1  +8.33%
plugins/base.py                                 -2      -1  +3.10%
plugins/manager.py                              -4      -3  +1.96%
plugins/apis/ecmwf.py                           -8      -7  +6.36%
plugins/apis/usgs.py                            -6      -5  +2.13%
plugins/authentication/aws_auth.py              -3      -2  +9.09%
plugins/authentication/base.py                  -2      -1  +4.03%
plugins/authentication/generic.py               -2      -1  +4.46%
plugins/authentication/header.py                -2      -1  +4.76%
plugins/authentication/keycloak.py              -3      -2  +3.54%
plugins/authentication/oauth.py                 -2      -1  -0.52%
plugins/authentication/openid_connect.py        -2      -2  +0.98%
plugins/authentication/qsauth.py                -2      -1  +2.62%
plugins/authentication/sas_auth.py              -2      -1  +1.95%
plugins/authentication/token.py                 -2      -1  +0.71%
plugins/crunch/base.py                          -2      -1  +6.67%
plugins/crunch/filter_date.py                   -2      -1  +0.86%
plugins/crunch/filter_latest_intersect.py       -3      -2  -0.21%
plugins/crunch/filter_latest_tpl_name.py        -2      -1  +2.83%
plugins/crunch/filter_overlap.py                -2      -1  +0.67%
plugins/crunch/filter_property.py               -2      -1  +1.67%
plugins/download/aws.py                         -7      -6  +0.74%
plugins/download/base.py                        -7      -6  +1.74%
plugins/download/http.py                        -6      -5  +0.66%
plugins/download/s3rest.py                      -3      -3  +2.00%
plugins/search/__init__.py                      -4      -3  +11.54%
plugins/search/base.py                          -5      -4  +2.59%
plugins/search/build_search_result.py           -2      -1  +0.37%
plugins/search/cop_marine.py                    -3      -2  +0.64%
plugins/search/csw.py                           -3      -2  -0.29%
plugins/search/data_request_search.py           -2      -1  +0.16%
plugins/search/qssearch.py                      +9      +3  -0.24%
plugins/search/static_stac_search.py            -3      -2  +2.11%
rest/core.py                                    -4      -4  +0.61%
rest/server.py                                  -3      -3  +100.00%
rest/stac.py                                    -2      -1  -0.15%
rest/types/eodag_search.py                      -5      -4  +1.95%
rest/types/queryables.py                        -2      -1  +0.93%
rest/types/stac_search.py                       -5      -4  +2.50%
rest/utils/__init__.py                          -2      -1  +0.37%
types/__init__.py                               +4      +3  -1.48%
utils/__init__.py                               -3      -2  +0.35%
utils/exceptions.py                             -2      -1  +2.55%
utils/import_system.py                          -2      -1  -1.19%
TOTAL                                         -144    -112  +0.78%

Results for commit: ec115f0

Minimum allowed coverage is 70%

♻️ This comment has been updated with latest results

Copy link
Contributor

Test Results

    4 files  ±0      4 suites  ±0   6m 6s ⏱️ -1s
  553 tests ±0    550 ✅ ±0    3 💤 ±0  0 ❌ ±0 
2 212 runs  ±0  2 110 ✅ ±0  102 💤 ±0  0 ❌ ±0 

Results for commit ec115f0. ± Comparison against base commit feef2bf.

@sbrunato sbrunato merged commit 6055d7b into develop Jul 23, 2024
10 checks passed
@sbrunato sbrunato deleted the type-hints-fixes branch July 23, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant