{"id":15018738,"url":"https://github.com/marketsquare/robotframework-tidy","last_synced_at":"2025-05-15T18:07:54.120Z","repository":{"id":37007446,"uuid":"317304094","full_name":"MarketSquare/robotframework-tidy","owner":"MarketSquare","description":"Robot Framework code formatter","archived":false,"fork":false,"pushed_at":"2025-03-03T14:36:46.000Z","size":1678,"stargazers_count":115,"open_issues_count":38,"forks_count":16,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-01T01:37:11.700Z","etag":null,"topics":["codeformatter","robotframework","robotidy"],"latest_commit_sha":null,"homepage":"https://robotidy.readthedocs.io/","language":"RobotFramework","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/MarketSquare.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-30T17:57:04.000Z","updated_at":"2025-03-22T18:49:28.000Z","dependencies_parsed_at":"2023-01-17T12:46:02.638Z","dependency_job_id":"4049aca5-1b36-4c92-a34f-b2bf76af277c","html_url":"https://github.com/MarketSquare/robotframework-tidy","commit_stats":{"total_commits":545,"total_committers":20,"mean_commits":27.25,"dds":"0.39449541284403666","last_synced_commit":"972edd7b10962dc4fd65e0d06beae5488920a41d"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-tidy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-tidy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-tidy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-tidy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarketSquare","download_url":"https://codeload.github.com/MarketSquare/robotframework-tidy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247765566,"owners_count":20992328,"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":["codeformatter","robotframework","robotidy"],"created_at":"2024-09-24T19:52:23.409Z","updated_at":"2025-05-15T18:07:54.113Z","avatar_url":"https://github.com/MarketSquare.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Codecov](https://img.shields.io/codecov/c/github/MarketSquare/robotframework-tidy/main \"Code coverage on master branch\")\n![PyPI](https://img.shields.io/pypi/v/robotframework-tidy?label=version \"PyPI package version\")\n![Python versions](https://img.shields.io/pypi/pyversions/robotframework-tidy \"Supported Python versions\")\n![Licence](https://img.shields.io/pypi/l/robotframework-tidy \"PyPI - License\")\n\n---\n\n\u003cimg style=\"float:right\" src=\"https://raw.githubusercontent.com/MarketSquare/robotframework-tidy/main/docs/source/_static/robotidy_logo_small.png\"\u003e\n\nRobotidy\n===============\n- [Introduction](#introduction)\n- [Documentation](#documentation)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Example](#example)\n\nDEPRECATION NOTICE\n------------\nStarting from Robocop 6.0, Robotidy is part of Robocop as formatter.\n\nIf you are new users, please use https://github.com/MarketSquare/robotframework-robocop instead.\n\nIntroduction \u003ca name=\"introduction\"\u003e\u003c/a\u003e\n------------\nRobotidy is a tool for autoformatting Robot Framework code.\n\nIt is spiritual descendant of Robot Framework's internal robot.tidy package.\n\nDocumentation \u003ca name=\"documentation\"\u003e\u003c/a\u003e\n-------------\nFull documentation available [here](https://robotidy.readthedocs.io). :open_book:\n\nRequirements \u003ca name=\"requirements\"\u003e\u003c/a\u003e\n------------\n\nPython 3.8+ :snake: and Robot Framework 4.0.0+ :robot:.\n\nInstallation \u003ca name=\"installation\"\u003e\u003c/a\u003e\n------------\n\nYou can install Robotidy simply by running:\n```\npip install -U robotframework-tidy\n```\n\nUsage \u003ca name=\"usage\"\u003e\u003c/a\u003e\n-----\nCall robotidy with path(s) to file/directory with robot files:\n\n```\nrobotidy tests\nrobotidy test.robot\nrobotidy tests/resources test.robot\n```\n    \nAll command line options can be displayed in help message by executing:\n\n```\nrobotidy --help\n```\n\nSee [documentation](https://robotidy.readthedocs.io/en/latest/configuration/index.html) for information how to configure \nrobotidy.\n\nExample \u003ca name=\"example\"\u003e\u003c/a\u003e\n-------\nUgly code before transforming with robotidy:\n```robotframework\n*** Settings ***\nForce Tags  tags  tag2\nLibrary  Collections\nResource  important.robot\nLibrary   MyCustomLibrary.py\n\nTest Setup  Setup Keyword\n\n\n*** test case*\nTest1\n    [ teardown]  Teardown Keyword\n    Keyword\n    FOR  ${var}  IN RANGE  10\n    Run Keyword If  ${var}\u003e5  Other Keyword\n    END\n*** Variables ***\n${var}=  2\n${bit_longer}  10\n${var2}   a\n...  b\n\n*** Keywords ***\n\n```\nA lot prettier code after:\n```robotframework\n*** Settings ***\nLibrary         Collections\nLibrary         MyCustomLibrary.py\nResource        important.robot\n\nTest Setup      Setup Keyword\n\nForce Tags      tags    tag2\n\n*** Variables ***\n${var}              2\n${bit_longer}       10\n${var2}             a\n...                 b\n\n*** Test Cases ***\nTest1\n    Keyword\n    FOR    ${var}    IN RANGE    10\n        IF    ${var}\u003e5\n            Other Keyword\n        END\n    END\n    [Teardown]    Teardown Keyword\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketsquare%2Frobotframework-tidy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarketsquare%2Frobotframework-tidy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketsquare%2Frobotframework-tidy/lists"}