(self)
| 3692 | ] |
| 3693 | |
| 3694 | def generate_unused_ignore_notes(self) -> None: |
| 3695 | if ( |
| 3696 | self.options.warn_unused_ignores |
| 3697 | or codes.UNUSED_IGNORE in self.options.enabled_error_codes |
| 3698 | ) and codes.UNUSED_IGNORE not in self.options.disabled_error_codes: |
| 3699 | # We only need this for the daemon, regular incremental does this unconditionally. |
| 3700 | if self.meta and self.options.fine_grained_incremental: |
| 3701 | self.verify_dependencies(suppressed_only=True) |
| 3702 | is_typeshed = self.tree is not None and self.tree.is_typeshed_file(self.options) |
| 3703 | with self.wrap_context(): |
| 3704 | self.manager.errors.generate_unused_ignore_errors(self.xpath, is_typeshed) |
| 3705 | |
| 3706 | def generate_ignore_without_code_notes(self) -> None: |
| 3707 | if self.manager.errors.is_error_code_enabled(codes.IGNORE_WITHOUT_CODE): |
no test coverage detected