{"id":23737,"library":"flake8-copyright","title":"flake8-copyright","description":"A flake8 plugin that checks Python files for copyright notices in their header comments. Version 0.2.4; stable but low activity.","status":"active","version":"0.2.4","language":"python","source_language":"en","source_url":"https://github.com/savoirfairelinux/flake8-copyright","tags":["flake8","plugin","copyright","linting"],"install":[{"cmd":"pip install flake8-copyright","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"flake8-copyright is a plugin, not part of flake8; the package uses an underscore.","wrong":"from flake8.copyright import ...","symbol":"copyright_checker","correct":"from flake8_copyright import copyright_checker"}],"quickstart":{"code":"echo '[flake8]\ncopyright-check = True\ncopyright-min-file-size = 0\ncopyright-regexp = Copyright .* MyCompany' > .flake8\nflake8 your_code.py","lang":"python","description":"Configure flake8-copyright in .flake8 and run flake8."},"warnings":[{"fix":"Install flake8: pip install flake8","message":"The plugin requires flake8 to be installed separately.","severity":"gotcha","affected_versions":"all"},{"fix":"Use a regex that starts matching from the first line, e.g., Copyright \\d{4} MyCompany","message":"Copyright regex uses Python re.match; it must match from the beginning of file.","severity":"gotcha","affected_versions":"all"},{"fix":"Set copyright-min-file-size = 0 to check all files.","message":"The 'copyright-min-file-size' default is 10 bytes; files smaller than this are skipped.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: pip install flake8-copyright","cause":"The plugin is not installed or the import path is wrong.","error":"ModuleNotFoundError: No module named 'flake8_copyright'"},{"fix":"Ensure flake8-copyright is installed (pip list | grep flake8-copyright) and run flake8 again.","cause":"The plugin is not loaded; flake8 doesn't know about the options.","error":"flake8: error: unrecognized arguments: --copyright-check"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}