{"id":13800725,"url":"https://github.com/whtsky/mypy-silent","last_synced_at":"2025-04-14T17:21:45.868Z","repository":{"id":38217292,"uuid":"364940215","full_name":"whtsky/mypy-silent","owner":"whtsky","description":"Silence mypy by adding or removing code comments","archived":false,"fork":false,"pushed_at":"2024-12-05T05:27:47.000Z","size":60,"stargazers_count":14,"open_issues_count":12,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-17T17:41:26.254Z","etag":null,"topics":["mypy","python","typehints"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whtsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-06T14:34:43.000Z","updated_at":"2024-08-28T16:00:45.000Z","dependencies_parsed_at":"2023-10-03T13:38:39.148Z","dependency_job_id":"313096db-6c66-4b2f-a082-47009a1c722a","html_url":"https://github.com/whtsky/mypy-silent","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fmypy-silent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fmypy-silent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fmypy-silent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whtsky%2Fmypy-silent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whtsky","download_url":"https://codeload.github.com/whtsky/mypy-silent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923739,"owners_count":21183954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mypy","python","typehints"],"created_at":"2024-08-04T00:01:15.598Z","updated_at":"2025-04-14T17:21:45.837Z","avatar_url":"https://github.com/whtsky.png","language":"Python","readme":"# mypy-silent\n\nAutomatically add or remove `# type: ignore` commends to silence [mypy](https://github.com/python/mypy). Inspired by [pylint-silent](https://github.com/udifuchs/pylint-silent/)\n\n## Why?\n\nImagine you want to add type check for a legacy code base which has thounds of exisiting mypy errors.\nInstead of trying to fix all the exisiting errors, `mypy-silent` allows you to ignore the exisiting errors and adopt type checking right now.\n\nAlthough the exisiting errors are ignored, all the new code are type checked -- so you can moving towards fully type checked step by step.\n\n## Install \u0026 Usage\nWARNING: `mypy-silent` modifies files **in place**. You should use some version control system ( like git ) to prevent losing codes.\n```bash\npip install mypy-silent\n\nmypy . # Whoa, lots of type error!\nmypy . | mypy-silent # mypy-silent will add or remove `# type: ignore` commends to your code\nmypy . # mypy should report 0 errors now.\n```\n\n## Changelog\n\n### v0.4.0\n\n- Add support for removing unused type ignores with error codes [#42](https://github.com/whtsky/mypy-silent/pull/42)\n\n### v0.3.0\n\n- Add error code to ignore message comment.Instead of just adding `# type: ignore` we now add `# type: ignore[misc]` [#41](https://github.com/whtsky/mypy-silent/pull/41)\n\n### v0.2.1\n\n- Fix import error on Python \u003c 3.8\n\n### v0.2.0\n\n- Support parsing mypy \u003e=0.900 messages\n\n### v0.1.0\n\n- Initial release\n","funding_links":[],"categories":["Tools"],"sub_categories":["Working with types"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhtsky%2Fmypy-silent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhtsky%2Fmypy-silent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhtsky%2Fmypy-silent/lists"}