{"id":23002847,"url":"https://github.com/likianta/lkfmt","last_synced_at":"2026-02-10T19:31:29.952Z","repository":{"id":182212409,"uuid":"668107574","full_name":"likianta/lkfmt","owner":"likianta","description":"All-in-one Python code formattor which is tailored of \"black + isort + autoflake\" for myself taste.","archived":false,"fork":false,"pushed_at":"2024-12-31T08:35:07.000Z","size":402,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-28T11:20:56.560Z","etag":null,"topics":["autoflake","black","code-formatter","code-style","formatter","isort","python-formatter","reformat"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/likianta.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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,"zenodo":null}},"created_at":"2023-07-19T03:39:50.000Z","updated_at":"2024-12-31T08:35:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"07807d10-29a5-42cf-99aa-8598e74452ce","html_url":"https://github.com/likianta/lkfmt","commit_stats":null,"previous_names":["likianta/lkfmt"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/likianta/lkfmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likianta%2Flkfmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likianta%2Flkfmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likianta%2Flkfmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likianta%2Flkfmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/likianta","download_url":"https://codeload.github.com/likianta/lkfmt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likianta%2Flkfmt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29313123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["autoflake","black","code-formatter","code-style","formatter","isort","python-formatter","reformat"],"created_at":"2024-12-15T07:12:26.528Z","updated_at":"2026-02-10T19:31:29.937Z","avatar_url":"https://github.com/likianta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Likianta Flavored Formatter\n\n`lkfmt` (Likianta flavored formatter) is an integration of `black` + `isort` +\n`autoflake` with pre-defined settings to reformat my Python script code.\n\n## Features\n\n- `black` + `isort` + `autoflake` integration\n- out-of-box settings\n- one command to drive\n- additional format styles by lk-flavor (*work in progress*)\n    - keep indents on empty lines\n    - ensure newline at end of file\n    - merge one-line `if`/`for` statements\n    - align `:` in dict key-value pairs\n    - align `=` in multi-line assignments\n    - **tweak `black` styles to balance the visual weight**\n    - use `# nofmt` to skip formatting (like `# noqa`)\n\n## Installation\n\n\u003cstrike\u003e\u003ccode\u003epip install lkfmt\u003c/code\u003e\u003c/strike\u003e (not yet published)\n\n```sh\npip install git+https://github.com/likianta/lkfmt.git\n```\n\n## Usage\n\nuse in command line:\n\n```sh\n# after installation, there's an executable named `lkfmt`.\n\n# get help\nlkfmt -h\n\n# format files in current dir\nlkfmt .\n# it can also be shorthand as `lkfmt` (no argument)\n\n# format files in current dir and subdirs recursively\nlkfmt -r .\n\n# format one file\nlkfmt $file\n\n# show difference (but not inplace file)\npython -m lkfmt show-diff $file\n```\n\n## Screenshots\n\n![](./.assets/125758.png)\n\n![](./.assets/125742.png)\n\n![](./.assets/125801.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikianta%2Flkfmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flikianta%2Flkfmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikianta%2Flkfmt/lists"}