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.
pip install flake8-codingNo compatibility data collected yet for this library.
Install the plugin and run flake8 with the coding checks enabled (C101, C102, C103).
Consider if you still need this check; use `--ignore=C101` to suppress.
Run flake8 with `--select=C1` or include in your flake8 config: `select = C1`.
Do not import flake8_coding in your code. It is auto-discovered by flake8 when installed.
Use `flake8 --select=C101 myfile.py` or add `select = C101` in .flake8 config.