{"id":13398293,"url":"https://github.com/PyCQA/pycodestyle","last_synced_at":"2025-03-14T02:31:16.684Z","repository":{"id":680325,"uuid":"324077","full_name":"PyCQA/pycodestyle","owner":"PyCQA","description":"Simple Python style checker in one Python file","archived":false,"fork":false,"pushed_at":"2025-02-17T22:47:02.000Z","size":1901,"stargazers_count":5079,"open_issues_count":106,"forks_count":749,"subscribers_count":115,"default_branch":"main","last_synced_at":"2025-03-13T09:00:41.638Z","etag":null,"topics":["flake8-plugin","linter-flake8","linter-plugin","pep8","python","style-guide","styleguide"],"latest_commit_sha":null,"homepage":"https://pycodestyle.pycqa.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jacquescrocker/guard-resque","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PyCQA.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":"CONTRIBUTING.rst","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":"2009-10-02T00:43:37.000Z","updated_at":"2025-03-11T22:15:00.000Z","dependencies_parsed_at":"2023-01-13T10:36:16.696Z","dependency_job_id":"ee092c45-b681-4848-97ec-4e88b439e585","html_url":"https://github.com/PyCQA/pycodestyle","commit_stats":{"total_commits":1142,"total_committers":141,"mean_commits":8.099290780141844,"dds":0.626970227670753,"last_synced_commit":"887b89d3993079530591fcdc6834426feb90e87c"},"previous_names":["jcrocholl/pep8"],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyCQA%2Fpycodestyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyCQA%2Fpycodestyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyCQA%2Fpycodestyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PyCQA%2Fpycodestyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PyCQA","download_url":"https://codeload.github.com/PyCQA/pycodestyle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243511659,"owners_count":20302594,"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-plugin","linter-flake8","linter-plugin","pep8","python","style-guide","styleguide"],"created_at":"2024-07-30T19:00:22.067Z","updated_at":"2025-03-14T02:31:16.647Z","avatar_url":"https://github.com/PyCQA.png","language":"Python","readme":"pycodestyle (formerly called pep8) - Python style guide checker\n===============================================================\n\n.. image:: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml/badge.svg\n   :target: https://github.com/PyCQA/pycodestyle/actions/workflows/main.yml\n   :alt: Build status\n\n.. image:: https://readthedocs.org/projects/pycodestyle/badge/?version=latest\n    :target: https://pycodestyle.pycqa.org\n    :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/wheel/pycodestyle.svg\n   :target: https://pypi.org/project/pycodestyle/\n   :alt: Wheel Status\n\n.. image:: https://badges.gitter.im/PyCQA/pycodestyle.svg\n   :alt: Join the chat at https://gitter.im/PyCQA/pycodestyle\n   :target: https://gitter.im/PyCQA/pycodestyle?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n\npycodestyle is a tool to check your Python code against some of the style\nconventions in `PEP 8`_.\n\n.. _PEP 8: http://www.python.org/dev/peps/pep-0008/\n\n.. note::\n\n    This package used to be called ``pep8`` but was renamed to ``pycodestyle``\n    to reduce confusion. Further discussion can be found `in the issue where\n    Guido requested this\n    change \u003chttps://github.com/PyCQA/pycodestyle/issues/466\u003e`_, or in the\n    lightning talk at PyCon 2016 by @IanLee1521:\n    `slides \u003chttps://speakerdeck.com/ianlee1521/pep8-vs-pep-8\u003e`_\n    `video \u003chttps://youtu.be/PulzIT8KYLk?t=36m\u003e`_.\n\nFeatures\n--------\n\n* Plugin architecture: Adding new checks is easy.\n\n* Parseable output: Jump to error location in your editor.\n\n* Small: Just one Python file, requires only stdlib. You can use just\n  the ``pycodestyle.py`` file for this purpose.\n\n* Comes with a comprehensive test suite.\n\nInstallation\n------------\n\nYou can install, upgrade, and uninstall ``pycodestyle.py`` with these commands::\n\n  $ pip install pycodestyle\n  $ pip install --upgrade pycodestyle\n  $ pip uninstall pycodestyle\n\nThere's also a package for Debian/Ubuntu, but it's not always the\nlatest version.\n\nExample usage and output\n------------------------\n\n::\n\n  $ pycodestyle --first optparse.py\n  optparse.py:69:11: E401 multiple imports on one line\n  optparse.py:77:1: E302 expected 2 blank lines, found 1\n  optparse.py:88:5: E301 expected 1 blank line, found 0\n  optparse.py:347:31: E211 whitespace before '('\n  optparse.py:357:17: E201 whitespace after '{'\n  optparse.py:472:29: E221 multiple spaces before operator\n\nYou can also make ``pycodestyle.py`` show the source code for each error, and\neven the relevant text from PEP 8::\n\n  $ pycodestyle --show-source --show-pep8 testing/data/E40.py\n  testing/data/E40.py:2:10: E401 multiple imports on one line\n  import os, sys\n           ^\n      Imports should usually be on separate lines.\n\n      Okay: import os\\nimport sys\n      E401: import sys, os\n\n\nOr you can display how often each error was found::\n\n  $ pycodestyle --statistics -qq Python-2.5/Lib\n  232     E201 whitespace after '['\n  599     E202 whitespace before ')'\n  631     E203 whitespace before ','\n  842     E211 whitespace before '('\n  2531    E221 multiple spaces before operator\n  4473    E301 expected 1 blank line, found 0\n  4006    E302 expected 2 blank lines, found 1\n  165     E303 too many blank lines (4)\n  325     E401 multiple imports on one line\n  3615    E501 line too long (82 characters)\n\nLinks\n-----\n\n* `Read the documentation \u003chttps://pycodestyle.pycqa.org/\u003e`_\n\n* `Fork me on GitHub \u003chttp://github.com/PyCQA/pycodestyle\u003e`_\n","funding_links":[],"categories":["Python","Linters","HarmonyOS","Linters \u0026 Style Checkers"],"sub_categories":["Python","Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPyCQA%2Fpycodestyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPyCQA%2Fpycodestyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPyCQA%2Fpycodestyle/lists"}