{"id":48067906,"url":"https://github.com/zigai/rattle","last_synced_at":"2026-04-04T14:37:30.084Z","repository":{"id":347519737,"uuid":"1190997829","full_name":"zigai/rattle","owner":"zigai","description":"A framework for custom Python linters with auto-fixes and hierarchical configuration","archived":false,"fork":false,"pushed_at":"2026-03-28T08:46:14.000Z","size":521,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T12:47:57.203Z","etag":null,"topics":["linter","python","python3","rattle","static-analysis","static-code-analysis"],"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/zigai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-24T20:28:32.000Z","updated_at":"2026-03-28T08:46:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zigai/rattle","commit_stats":null,"previous_names":["zigai/rattle"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zigai/rattle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Frattle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Frattle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Frattle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Frattle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigai","download_url":"https://codeload.github.com/zigai/rattle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigai%2Frattle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31403081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["linter","python","python3","rattle","static-analysis","static-code-analysis"],"created_at":"2026-04-04T14:37:29.960Z","updated_at":"2026-04-04T14:37:30.064Z","avatar_url":"https://github.com/zigai.png","language":"Python","readme":"# Rattle\n\n[![Tests](https://github.com/zigai/rattle/actions/workflows/tests.yml/badge.svg)](https://github.com/zigai/rattle/actions/workflows/tests.yml)\n[![PyPI version](https://badge.fury.io/py/rattle-lint.svg)](https://badge.fury.io/py/rattle-lint)\n![Supported versions](https://img.shields.io/badge/python-3.10+-blue.svg)\n[![Downloads](https://static.pepy.tech/badge/rattle-lint)](https://pepy.tech/project/rattle-lint)\n[![license](https://img.shields.io/github/license/zigai/rattle.svg)](https://github.com/zigai/rattle/blob/main/LICENSE)\n\nRattle is a Python linting framework built on [LibCST](https://libcst.readthedocs.io) with support for autofixes, custom in-repo lint rules, and hierarchical configuration.\n\nRattle is a fork of [Fixit](https://github.com/Instagram/Fixit).\n\n## Features\n\n- Built-in lint rules for common Python issues\n- Autofix support when a rule can safely rewrite code\n- Local custom rules that can live inside your repository\n- Hierarchical `pyproject.toml` configuration\n- Pre-commit integration for CI and local workflows\n- LSP support\n\n## Install\n\nInstall the CLI from PyPI:\n\n```bash\npip install rattle-lint\n```\n\nInstall editor/LSP support too:\n\n```bash\npip install \"rattle-lint[lsp]\"\n```\n\n## Basic Usage\n\n\n```bash\nrattle lint\n```\n\nApply available autofixes:\n\n```bash\nrattle fix\n```\n\n## Example Configuration\n\n\n```toml\n[tool.rattle]\nroot = true\npython-version = \"3.10\"\noutput-format = \"rattle\"\ndisable = [\n    \"NoStaticIfCondition\",\n    \"UseAssertIn\",\n]\nper-file-disable = {\"tests/generated.py\" = [\"UseFstring\"]}\n\n[tool.rattle.options.UseFstring]\nsimple_expression_max_length = 40\n\n[[tool.rattle.overrides]]\npath = \"tests\"\nenable = [\"UseAssertIn\"]\noptions = { UseFstring = { simple_expression_max_length = 60 } }\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Frattle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigai%2Frattle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigai%2Frattle/lists"}