{"id":13734112,"url":"https://github.com/10sr/flake8-no-implicit-concat","last_synced_at":"2025-04-09T18:22:35.231Z","repository":{"id":43671231,"uuid":"263813820","full_name":"10sr/flake8-no-implicit-concat","owner":"10sr","description":"Flake8 Plugin that Forbids Implicit str/bytes Literal Concatenations","archived":false,"fork":false,"pushed_at":"2025-03-07T08:51:29.000Z","size":276,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T11:52:48.212Z","etag":null,"topics":["flake8","flake8-plugin","linter","linting","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flake8-no-implicit-concat/","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/10sr.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-14T04:21:19.000Z","updated_at":"2025-03-07T08:51:32.000Z","dependencies_parsed_at":"2022-08-26T02:42:29.281Z","dependency_job_id":"b8e03cd1-3fcc-40bc-a029-08afe802d54d","html_url":"https://github.com/10sr/flake8-no-implicit-concat","commit_stats":{"total_commits":198,"total_committers":2,"mean_commits":99.0,"dds":0.005050505050505083,"last_synced_commit":"73a96d9d2f96856b88236e188acd02cc7a6e4fd6"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fflake8-no-implicit-concat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fflake8-no-implicit-concat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fflake8-no-implicit-concat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fflake8-no-implicit-concat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/10sr","download_url":"https://codeload.github.com/10sr/flake8-no-implicit-concat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085766,"owners_count":21045209,"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":["flake8","flake8-plugin","linter","linting","python"],"created_at":"2024-08-03T03:00:52.687Z","updated_at":"2025-04-09T18:22:35.209Z","avatar_url":"https://github.com/10sr.png","language":"Python","readme":"[![PyPI version](https://badge.fury.io/py/flake8-no-implicit-concat.svg)](https://badge.fury.io/py/flake8-no-implicit-concat)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flake8-no-implicit-concat)\n[![Downloads](https://pepy.tech/badge/flake8-no-implicit-concat/month)](https://pepy.tech/project/flake8-no-implicit-concat)\n[![build](https://github.com/10sr/flake8-no-implicit-concat/actions/workflows/build.yaml/badge.svg)](https://github.com/10sr/flake8-no-implicit-concat/actions/workflows/build.yaml)\n[![Codecov](https://codecov.io/gh/10sr/flake8-no-implicit-concat/branch/master/graph/badge.svg)](https://codecov.io/gh/10sr/flake8-no-implicit-concat)\n\n\n\nflake8-no-implicit-concat\n=========================\n\n[Flake8][] plugin that forbids implicit str/bytes literal concatenations.\n\n    # Not Allowed\n    print('foo' 'bar', 'baz')\n    a = [\"aaa\",\n         \"bbb\"\n         \"ccc\"]\n    b = b'abc' b'def'\n\n    # OK\n    print('foobar', 'baz')\n    a = [\"aaa\",\n         \"bbb\"\n         + \"ccc\"]\n    b = b'abcdef'\n \n\nInstallation\n------------\n\nInstall via pip:\n\n    pip install flake8-no-implicit-concat\n\n\nViolation Codes\n---------------\n\nThe plugin uses the prefix `NIC`, short for No Implicit Concatenation.\n\n| Code   | Description                                                |\n| ------ | ---------------------------------------------------------- |\n| NIC001 | Implicitly concatenated str literals on one line           |\n| NIC002 | Implicitly concatenated str literals over multiple lines   |\n| NIC101 | Implicitly concatenated bytes literals on one line         |\n| NIC102 | Implicitly concatenated bytes literals over multiple lines |\n\n\nOther Plugins \u0026 Linters\n-----------------------\n\n- [**flake8-implicit-str-concat**][flake8-implicit-str-concat]\n  Flake8 plugin to encourage correct string literal concatenation.\n  This plugin is different from `flake8-no-implicit-concat`\n  because this plugin prefers implicit concatenations over explicit `+`\n  operators when concatenating literals over multiple lines.\n- [**wemake-python-styleguide**][wemake-python-styleguide]\n  Set of strict flake8 rules with several plugins as dependencies.\n  It implements `WPS326 Found implicit string concatenation`, which also\n  checks implicit string concatenations, as one of the many rules it defines.\n- [**pylint**][pylint] \n  This linter has `implicit-str-concat` rule.\n  By default it only looks for occurrences of implicit concatenations on the\n  same line, but it has `--check-str-concat-over-line-jumps=y` option\n  to enable checking of concatenations over multiple lines.\n\n\nDevelopment\n-----------\n\nUse tools like Pipenv:\n\n    pipenv run python -m pip install -e .[test,lint]\n    pipenv run make check\n\n\nLicense\n-------\n\nThis software is released under MIT license. See `LICENSE` for details.\n\nThe code was derived from [flake8-implicit-str-concat][], which is developed by\nDylan Turner and also released under MIT license.\n\n\n\n[Flake8]: https://flake8.pycqa.org/en/latest/\n[flake8-implicit-str-concat]: https://github.com/keisheiled/flake8-implicit-str-concat\n[wemake-python-styleguide]: https://github.com/wemake-services/wemake-python-styleguide\n[pylint]: https://github.com/PyCQA/pylint\n","funding_links":[],"categories":["Limitations"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10sr%2Fflake8-no-implicit-concat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F10sr%2Fflake8-no-implicit-concat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10sr%2Fflake8-no-implicit-concat/lists"}