{"id":13734039,"url":"https://github.com/wemake-services/flake8-broken-line","last_synced_at":"2025-04-04T08:07:43.869Z","repository":{"id":38036997,"uuid":"150951235","full_name":"wemake-services/flake8-broken-line","owner":"wemake-services","description":"🚨 Flake8 plugin to forbid backslashes (\\) for line breaks","archived":false,"fork":false,"pushed_at":"2023-10-28T16:02:33.000Z","size":622,"stargazers_count":111,"open_issues_count":14,"forks_count":80,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-13T23:09:46.364Z","etag":null,"topics":["code-quality","flake8","flake8-plugin","lint","linter","linting","python","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flake8-broken-line/","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/wemake-services.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-09-30T09:11:44.000Z","updated_at":"2024-01-04T16:26:43.000Z","dependencies_parsed_at":"2024-01-06T09:56:06.527Z","dependency_job_id":"78e9711a-4885-45c3-a935-07c87bb58c99","html_url":"https://github.com/wemake-services/flake8-broken-line","commit_stats":{"total_commits":263,"total_committers":11,"mean_commits":23.90909090909091,"dds":0.5551330798479088,"last_synced_commit":"ccafa6bc71fd03f6ddc78d7e14c86feef6978cc0"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fflake8-broken-line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fflake8-broken-line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fflake8-broken-line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wemake-services%2Fflake8-broken-line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wemake-services","download_url":"https://codeload.github.com/wemake-services/flake8-broken-line/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247104205,"owners_count":20884185,"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":["code-quality","flake8","flake8-plugin","lint","linter","linting","python","python3"],"created_at":"2024-08-03T03:00:51.946Z","updated_at":"2025-04-04T08:07:43.849Z","avatar_url":"https://github.com/wemake-services.png","language":"Python","funding_links":[],"categories":["Limitations"],"sub_categories":[],"readme":"# flake8-broken-line\n\n[![wemake.services](https://img.shields.io/badge/-wemake.services-green.svg?label=%20\u0026logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](https://wemake-services.github.io)\n[![Build Status](https://github.com/wemake-services/flake8-broken-line/workflows/test/badge.svg?branch=master\u0026event=push)](https://github.com/wemake-services/flake8-broken-line/actions?query=workflow%3Atest)\n[![codecov](https://codecov.io/gh/wemake-services/flake8-broken-line/branch/master/graph/badge.svg)](https://codecov.io/gh/wemake-services/flake8-broken-line)\n[![Python Version](https://img.shields.io/pypi/pyversions/flake8-broken-line.svg)](https://pypi.org/project/flake8-broken-line/)\n[![PyPI version](https://badge.fury.io/py/flake8-broken-line.svg)](https://pypi.org/project/flake8-broken-line/)\n[![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/wemake-python-styleguide)\n\nDo not break the line! 🚨\n\n\n## Installation\n\n```bash\npip install flake8-broken-line\n```\n\nIt is also a valuable part of [`wemake-python-styleguide`](https://github.com/wemake-services/wemake-python-styleguide).\n\n\n## Code example\n\nThings we check with this plugin:\n\n```python\n# String line breaks, use `()` or `\"\"\"` instead:\n\nsome_string = 'first line\\\nsecond line'\n\n# Use a single line, `()`, or new variables instead:\n\nif 1 == 1 and \\\n    2 == 2:\n    print('Do not do that!')\n\n# Do not use for method chaining:\nsome_object \\\n  .call_method(param1, param2) \\\n  .call_other(keyword=value) \\\n  .finalize()\n\n# Instead use:\nsome_objects.call_method(\n    param1, param2,\n).call_other(\n    keyword=value\n).finalize()\n\n```\n\n\n## Error codes\n\n| Error code |                   Description                  |\n|:----------:|:----------------------------------------------:|\n|    N400    | Found backslash that is used for line breaking |\n\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwemake-services%2Fflake8-broken-line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwemake-services%2Fflake8-broken-line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwemake-services%2Fflake8-broken-line/lists"}