Registry / testing / flake8-coding

flake8-coding

JSON →
library1.3.2pypypiunverified

Flake8 plugin that checks for a proper Python coding magic comment (e.g., # -*- coding: utf-8 -*-) at the top of files. Version 1.3.2 is the latest release as of 2021, with no active development.

testing
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Install the plugin and run flake8 with the coding checks enabled (C101, C102, C103).

pip install flake8-coding flake8 --select=C101,C102,C103 your_file.py
Debug
Known footguns
deprecatedPython 3 no longer requires coding magic comments (default is UTF-8). Many projects consider this check outdated.
gotchaThe plugin only activates if you explicitly select the C1xx error codes. It is not enabled by default.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
ahrefsbot
3
claudebot
3
script
1
Resources