{"id":43623576,"url":"https://github.com/community-of-python/flake8-plugin","last_synced_at":"2026-06-30T14:01:01.293Z","repository":{"id":336264458,"uuid":"1148898155","full_name":"community-of-python/flake8-plugin","owner":"community-of-python","description":"Linter that bridges the gap between our code style and existing linters","archived":false,"fork":false,"pushed_at":"2026-06-10T09:02:34.000Z","size":249,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-10T11:05:59.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/community-of-python.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-03T13:51:36.000Z","updated_at":"2026-06-10T09:02:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"afc22289-7710-4684-94bd-b3a611758f56","html_url":"https://github.com/community-of-python/flake8-plugin","commit_stats":null,"previous_names":["community-of-python/flake8-plugin"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/community-of-python/flake8-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Fflake8-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Fflake8-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Fflake8-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Fflake8-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/community-of-python","download_url":"https://codeload.github.com/community-of-python/flake8-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/community-of-python%2Fflake8-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34969682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-02-04T14:11:28.977Z","updated_at":"2026-06-30T14:01:01.280Z","avatar_url":"https://github.com/community-of-python.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Community of Python Flake8 Plugin\n\nA Flake8 plugin that enforces the Community of Python's custom code style rules. This plugin provides a set of checks designed to promote consistent and idiomatic Python code within the community.\n\n## Features\n\nThis plugin implements the following code style checks:\n\n- **COP001**: Use module import when importing more than two names\n- **COP002**: Import standard library modules as whole modules\n- **COP003**: Avoid explicit scalar type annotations\n- **COP004**: Attribute name must be at least 8 characters\n- **COP005**: Variable name must be at least 8 characters\n- **COP006**: Argument name must be at least 8 characters\n- **COP007**: Function name must be at least 8 characters\n- **COP008**: Class name must be at least 8 characters\n- **COP009**: Function identifier must be a verb\n- **COP010**: Avoid `get_` prefix in async function names\n- **COP011**: Avoid temporary variables used only once\n- **COP012**: Classes should be marked `typing.final`\n- **COP013**: Wrap module dictionaries with `types.MappingProxyType`\n- **COP014**: Use dataclasses with `kw_only=True`, `slots=True`, `frozen=True`\n- **COP015**: For-loop variables must be prefixed with `one_`\n- **COP016**: Add `*` or `/` when defining more than two regular arguments\n\n## Installation\n\nInstall the plugin using `uv` (recommended):\n\n```bash\nuv add --dev community-of-python-flake8-plugin\n```\n\nOr install via pip:\n\n```bash\npip install community-of-python-flake8-plugin\n```\n\n## Usage\n\nRun Flake8 with the plugin enabled:\n\n```bash\nuv run flake8 --select COP --exclude .venv .\n```\n\nOr if installed globally:\n\n```bash\nflake8 --select COP --exclude .venv .\n```\n\n## Configuration\n\nAdd the following to your `pyproject.toml` when using https://pypi.org/project/Flake8-pyproject/:\n\n```toml\n[tool.flake8]\nselect = [\"COP\"]\nexclude = [\".venv\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommunity-of-python%2Fflake8-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommunity-of-python%2Fflake8-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommunity-of-python%2Fflake8-plugin/lists"}