{"id":22452553,"url":"https://github.com/jtmiclat/pre-commit-bean-format","last_synced_at":"2025-08-20T06:43:53.743Z","repository":{"id":209968156,"uuid":"725364452","full_name":"jtmiclat/pre-commit-bean-format","owner":"jtmiclat","description":"Format beancount files using bean-format","archived":false,"fork":false,"pushed_at":"2023-12-02T06:09:15.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T14:59:32.105Z","etag":null,"topics":["beancount","pre-commit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"whtsky/pre-commit-beancount-format","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtmiclat.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-30T01:37:12.000Z","updated_at":"2024-03-01T22:57:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b025b688-6907-4430-bb7c-8bc89a3a3605","html_url":"https://github.com/jtmiclat/pre-commit-bean-format","commit_stats":null,"previous_names":["jtmiclat/pre-commit-bean-format"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jtmiclat/pre-commit-bean-format","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtmiclat%2Fpre-commit-bean-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtmiclat%2Fpre-commit-bean-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtmiclat%2Fpre-commit-bean-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtmiclat%2Fpre-commit-bean-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtmiclat","download_url":"https://codeload.github.com/jtmiclat/pre-commit-bean-format/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtmiclat%2Fpre-commit-bean-format/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271279776,"owners_count":24731902,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["beancount","pre-commit"],"created_at":"2024-12-06T06:11:37.378Z","updated_at":"2025-08-20T06:43:53.683Z","avatar_url":"https://github.com/jtmiclat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pre-commit-bean-format\n\nFormat `.beancount` files using [bean-format](https://beancount.github.io/docs/running_beancount_and_generating_reports.html#bean-format)\n\n## Usage\n\nAdd this to your `.pre-commit-config.yaml`:\n\n```yaml\n- repo: https://github.com/jtmiclat/pre-commit-bean-format\n  rev: master # replace with commit sha\n  hooks:\n    - id: bean-format\n```\n\nThis will run `bean-format` to all `.bean` and `.beancount` files\n\nIf you plan to use a different extension, you can pass a custom `files` using the files field.\n\nFor example, we have files with extension `.count`:\n\n```yaml\n- repo: https://github.com/jtmiclat/pre-commit-bean-format\n  rev: master # replace with commit sha\n  hooks:\n    - id: bean-format\n      files: \\.count$\n```\n\nIf you want to pin a certain version of `beancount` or other dependencies, you can add `additional_dependencies` field\n\nFor example, we want to pin `beancount` to certain version:\n\n```yaml\n- repo: https://github.com/jtmiclat/pre-commit-bean-format\n  rev: master # replace with commit sha\n  hooks:\n    - id: bean-format\n      additional_dependencies: [\"beancount==2.3.6\"]\n```\n\nIf you want to pass additional arguments to format, you can add `args` field\n\nFor example:\n\n```yaml\n- repo: https://github.com/jtmiclat/pre-commit-bean-format\n  rev: master # replace with commit sha\n  hooks:\n    - id: bean-format\n      args: [\"-w 100\"]\n```\n\n# Credits\n\nForked from: https://github.com/whtsky/pre-commit-beancount-format/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtmiclat%2Fpre-commit-bean-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtmiclat%2Fpre-commit-bean-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtmiclat%2Fpre-commit-bean-format/lists"}