diff --git a/.meta/coverage/badge.svg b/.meta/coverage/badge.svg index 0fa9649..c149003 100644 --- a/.meta/coverage/badge.svg +++ b/.meta/coverage/badge.svg @@ -9,13 +9,13 @@ - + coverage coverage - 98% - 98% + 90% + 90% diff --git a/.meta/coverage/report.txt b/.meta/coverage/report.txt index 7ea3289..cfcc4bc 100644 --- a/.meta/coverage/report.txt +++ b/.meta/coverage/report.txt @@ -1,43 +1,28 @@ -Name Stmts Miss Cover -------------------------------------------------------------------------------------------------------------------- -service_oriented/__init__.py 2 0 100% -service_oriented/application/__init__.py 4 0 100% -service_oriented/application/abstract_composition_root.py 19 3 84% -service_oriented/application/base_application.py 22 0 100% -service_oriented/application/config/__init__.py 2 0 100% -service_oriented/application/config/base_config.py 27 0 100% -service_oriented/application/config/yaml_config_settings_source.py 31 1 97% -service_oriented/application/entry_point_spec.py 21 0 100% -service_oriented/application/generic_main.py 32 2 94% -service_oriented/deployment_environment.py 18 0 100% -service_oriented/logging/__init__.py 2 0 100% -service_oriented/logging/normalized_json_formatter.py 16 2 88% -service_oriented/services/__init__.py 0 0 100% -service_oriented/services/logger_service/__init__.py 3 0 100% -service_oriented/services/logger_service/logger_service.py 4 0 100% -service_oriented/services/logger_service/logger_service_with_yaml_logging_config.py 22 1 95% -service_oriented_test/__init__.py 0 0 100% -service_oriented_test/application/__init__.py 0 0 100% -service_oriented_test/application/base_application_test.py 48 0 100% -service_oriented_test/application/config/__init__.py 0 0 100% -service_oriented_test/application/config/base_config_test.py 84 0 100% -service_oriented_test/application/config/yaml_config_settings_source_test.py 41 0 100% -service_oriented_test/application/entry_point_spec_test.py 38 1 97% -service_oriented_test/application/generic_main_test.py 65 2 97% -service_oriented_test/conftest.py 0 0 100% -service_oriented_test/deployment_environment_test.py 30 0 100% -service_oriented_test/example_application/__init__.py 0 0 100% -service_oriented_test/example_application/app/__init__.py 0 0 100% -service_oriented_test/example_application/app/application.py 4 0 100% -service_oriented_test/example_application/app/config.py 3 0 100% -service_oriented_test/example_application/app/entry_points/__init__.py 0 0 100% -service_oriented_test/example_application/app/entry_points/printer.py 21 0 100% -service_oriented_test/example_application_test/app/application_test.py 3 0 100% -service_oriented_test/example_application_test/app/config_test.py 62 0 100% -service_oriented_test/example_application_test/app/entry_points/printer_test.py 37 1 97% -service_oriented_test/example_application_test/factories.py 9 0 100% -service_oriented_test/fixtures/__init__.py 14 3 79% -service_oriented_test/logging/normalized_json_formatter_test.py 38 0 100% -service_oriented_test/services/logger_service/logger_service_with_yaml_logging_config_test.py 34 0 100% -------------------------------------------------------------------------------------------------------------------- -TOTAL 756 16 98% +Name Stmts Miss Cover +--------------------------------------------------------------------------------------------------------- +service_oriented/__init__.py 2 0 100% +service_oriented/__version__.py 11 11 0% +service_oriented/application/__init__.py 4 0 100% +service_oriented/application/abstract_composition_root.py 19 3 84% +service_oriented/application/base_application.py 22 0 100% +service_oriented/application/config/__init__.py 2 0 100% +service_oriented/application/config/base_config.py 27 0 100% +service_oriented/application/config/yaml_config_settings_source.py 31 1 97% +service_oriented/application/entry_point_spec.py 21 0 100% +service_oriented/application/generic_main.py 32 2 94% +service_oriented/deployment_environment.py 18 0 100% +service_oriented/logging/__init__.py 2 0 100% +service_oriented/logging/normalized_json_formatter.py 16 2 88% +service_oriented/services/__init__.py 0 0 100% +service_oriented/services/logger_service/__init__.py 3 0 100% +service_oriented/services/logger_service/logger_service.py 4 0 100% +service_oriented/services/logger_service/logger_service_with_yaml_logging_config.py 22 1 95% +service_oriented_test/example_application/__init__.py 0 0 100% +service_oriented_test/example_application/app/__init__.py 0 0 100% +service_oriented_test/example_application/app/application.py 4 0 100% +service_oriented_test/example_application/app/config.py 3 0 100% +service_oriented_test/example_application/app/entry_points/__init__.py 0 0 100% +service_oriented_test/example_application/app/entry_points/printer.py 21 0 100% +service_oriented_test/example_application/main.py 6 6 0% +--------------------------------------------------------------------------------------------------------- +TOTAL 270 26 90% diff --git a/pyproject.toml b/pyproject.toml index 6c5722f..f635a6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,12 @@ include = "service_oriented(_test)?/.*\\.py$" line-length = 88 target-version = ["py39"] +[tool.coverage.run] +source = [ + "service_oriented", + "service_oriented_test/example_application", +] + [tool.flake8] ignore = ["E203", "E251", "E701", "N805", "W503", "DAR101", "DAR201", "DAR301", "DAR401"] max-line-length = 88