{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"A flake8 plugin that detects and forbids implicit string and bytes literal concatenations, enforcing explicit concatenation syntax.","skillfed_tags":["linting","code-style","flake8-plugin"],"use_cases":["Enforce consistent string concatenation style in a team codebase to prevent accidental literal merging.","Catch potential bugs where multi-line string literals were meant to be separate but implicitly merged.","Integrate into CI/CD pipelines to reject code with implicit concatenations before merge.","Add to a linting ruleset for projects that prefer explicit + operators over implicit concatenation.","Audit legacy code to identify and refactor implicit concatenations into clearer forms."],"what_it_does":"flake8-no-implicit-concat is a flake8 plugin that catches a specific style violation: implicit concatenation of string and bytes literals. Python allows adjacent string literals to merge automatically (e.g., 'foo' 'bar' becomes 'foobar'), but this can hide bugs and reduce code clarity. The plugin flags these cases with four violation codes\u2014NIC001 and NIC002 for str literals on one line or across multiple lines, and NIC101 and NIC102 for bytes literals\u2014and requires you to either merge the literals explicitly or use the + operator.\n\nIt integrates directly into flake8's linting pipeline, so once installed, it runs automatically whenever you invoke flake8. The plugin supports Python 3.6 through 3.13 and has no external system dependencies beyond flake8 itself, making it straightforward to add to existing projects.","worth_installing":"Yes. This is a lightweight, actively maintained flake8 plugin with no security vulnerabilities and low install friction. Install it if your team prefers to forbid implicit string/bytes concatenation; skip it if you have no opinion on the style or prefer implicit concatenation. The choice is purely stylistic\u2014the plugin does one thing well and integrates cleanly into flake8."},"id":"flake8-no-implicit-concat","links":{"html":"https://skillfed.io/packages/flake8-no-implicit-concat","md":"https://skillfed.io/packages/flake8-no-implicit-concat.md","pypi":"https://pypi.org/project/flake8-no-implicit-concat/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-11-05","license_spdx":null,"license_treatment":"permissive","name":"flake8-no-implicit-concat","python_support":"supports_current","summary":"Flake8 plugin that forbids implicit str/bytes literal concatenations"},"popularity":{"monthly_downloads":355317,"position":7291,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.7"}
