@@ -330,13 +330,53 @@ max-complexity = 17
330330 " S106" , # Possible hardcoded password assigned to argument
331331 " ARG001" , # Unused function argument
332332 " ARG002" , # Unused method argument
333-
334- # #################################################################################################
335- # Review and change the below later #
336- # #################################################################################################
337- " ANN001" , # Missing type annotation for function argument
338333]
339334
335+ # #################################################################################################
336+ # ANN001 ignores - broken down for incremental cleanup #
337+ # Remove each section as type annotations are added to that directory #
338+ # #################################################################################################
339+
340+ # tests/unit/sdk/ - 478 errors total
341+ "tests/unit/sdk/test_node.py" = [" ANN001" ] # 206 errors
342+ "tests/unit/sdk/test_client.py" = [" ANN001" ] # 85 errors
343+ "tests/unit/sdk/test_schema.py" = [" ANN001" ] # 36 errors
344+ "tests/unit/sdk/test_artifact.py" = [" ANN001" ] # 27 errors
345+ "tests/unit/sdk/test_hierarchical_nodes.py" = [" ANN001" ] # 26 errors
346+ "tests/unit/sdk/test_task.py" = [" ANN001" ] # 21 errors
347+ "tests/unit/sdk/test_store.py" = [" ANN001" ] # 12 errors
348+ "tests/unit/sdk/spec/test_object.py" = [" ANN001" ] # 11 errors
349+ "tests/unit/sdk/conftest.py" = [" ANN001" ] # 11 errors
350+ "tests/unit/sdk/test_diff_summary.py" = [" ANN001" ] # 9 errors
351+ "tests/unit/sdk/test_object_store.py" = [" ANN001" ] # 7 errors
352+ "tests/unit/sdk/graphql/test_query.py" = [" ANN001" ] # 7 errors
353+ "tests/unit/sdk/test_timestamp.py" = [" ANN001" ] # 6 errors
354+ "tests/unit/sdk/test_repository.py" = [" ANN001" ] # 6 errors
355+ "tests/unit/sdk/test_utils.py" = [" ANN001" ] # 4 errors
356+ "tests/unit/sdk/test_store_branch.py" = [" ANN001" ] # 4 errors
357+ "tests/unit/sdk/test_query_analyzer.py" = [" ANN001" ] # 4 errors
358+ "tests/unit/sdk/test_group_context.py" = [" ANN001" ] # 4 errors
359+ "tests/unit/sdk/test_branch.py" = [" ANN001" ] # 4 errors
360+ "tests/unit/sdk/test_batch.py" = [" ANN001" ] # 4 errors
361+ "tests/unit/sdk/graphql/test_renderer.py" = [" ANN001" ] # 4 errors
362+ "tests/unit/sdk/checks/test_checks.py" = [" ANN001" ] # 2 errors
363+ "tests/unit/sdk/test_schema_sorter.py" = [" ANN001" ] # 1 error
364+ "tests/unit/sdk/test_protocols_generator.py" = [" ANN001" ] # 1 error
365+
366+ # tests/integration/ - 60 errors total
367+ "tests/integration/test_infrahub_client.py" = [" ANN001" ] # 32 errors
368+ "tests/integration/test_node.py" = [" ANN001" ] # 15 errors
369+ "tests/integration/test_infrahubctl.py" = [" ANN001" ] # 9 errors
370+ "tests/integration/test_convert_object_type.py" = [" ANN001" ] # 3 errors
371+ "tests/integration/test_repository.py" = [" ANN001" ] # 1 error
372+
373+ # tests/unit/ctl/ - 25 errors total
374+ "tests/unit/ctl/test_repository_app.py" = [" ANN001" ] # 11 errors
375+ "tests/unit/ctl/test_render_app.py" = [" ANN001" ] # 5 errors
376+ "tests/unit/ctl/test_cli.py" = [" ANN001" ] # 5 errors
377+ "tests/unit/ctl/test_branch_app.py" = [" ANN001" ] # 3 errors
378+ "tests/unit/ctl/test_branch_report.py" = [" ANN001" ] # 1 error
379+
340380"tasks.py" = [
341381 " PLC0415" , # `import` should be at the top-level of a file
342382]
0 commit comments