{"id":13542288,"url":"https://github.com/spulec/pep8ify","last_synced_at":"2025-08-20T01:31:14.574Z","repository":{"id":3479151,"uuid":"4534497","full_name":"spulec/pep8ify","owner":"spulec","description":"A library that modifies python source code to conform to pep8.","archived":false,"fork":false,"pushed_at":"2019-03-08T03:06:14.000Z","size":508,"stargazers_count":118,"open_issues_count":7,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-13T20:43:44.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spulec.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-03T03:31:33.000Z","updated_at":"2024-01-31T17:11:22.000Z","dependencies_parsed_at":"2022-09-26T17:31:30.058Z","dependency_job_id":null,"html_url":"https://github.com/spulec/pep8ify","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spulec%2Fpep8ify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spulec%2Fpep8ify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spulec%2Fpep8ify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spulec%2Fpep8ify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spulec","download_url":"https://codeload.github.com/spulec/pep8ify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230382858,"owners_count":18216854,"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":[],"created_at":"2024-08-01T10:01:04.095Z","updated_at":"2024-12-19T05:07:16.630Z","avatar_url":"https://github.com/spulec.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Pep8ify: Clean your code with ease\n==================================\n\n\n.. image:: https://secure.travis-ci.org/spulec/pep8ify.png?branch=master\n\nPep8ify is a library that modifies python source code to conform to\npep8_.\n\n\nInstallation\n------------\n\nThis library currently works with python 2.7, 3.2, and 3.3.\n\nTo install pep8ify, simply: ::\n\n    $ pip install pep8ify\n\n\nUsage\n------------\n\nTo print a diff of changes that pep8ify will make against a particular source\nfile or directory: ::\n\n    $ pep8ify source_folder\n\nTo have those changes written to the files: ::\n\n    $ pep8ify -w source_folder\n\nBy default, this will create backup files for each file that will be changed.\nYou can add the `-n` option to not create the backups. Please do not do this\nif you are not using a version control system. Although this code is\nwell-tested, there are most likely bugs still.\n\nFor more options about running particular fixers, read the\n`lib2to3 documentation`_. This\nlibrary is built on top of that one.\n\nFixes\n------------\n\nA list of the available fixers can be found with the following: ::\n\n    $ pep8ify -l\n    Available transformations for the -f/--fix option:\n    blank_lines\n    compound_statements\n    extraneous_whitespace\n    imports_on_separate_lines\n    indentation\n    maximum_line_length\n    missing_newline\n    missing_whitespace\n    tabs\n    trailing_blank_lines\n    trailing_whitespace\n    whitespace_around_operator\n    whitespace_before_inline_comment\n    whitespace_before_parameters\n\nAll of these are set to run by default except for 'maximum_line_length'.\nTo run all fixes including 'maximum_line_length', run: ::\n\n    $ pep8ify -f all -f maximum_line_length example.py\n\n\n.. _`lib2to3 documentation`: http://docs.python.org/library/2to3.html\n.. _pep8: http://www.python.org/dev/peps/pep-0008/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspulec%2Fpep8ify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspulec%2Fpep8ify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspulec%2Fpep8ify/lists"}