Skip to content

Conversation

@AutoTransform
Copy link
Collaborator

Apply Black formatting to all python files with @black_format

ADDED AUTOMATICALLY BY AUTOTRANSFORM
Learn more about AutoTransform here
Schema and batch information for the change below

Schema JSON
<<<<BEGIN SCHEMA>>>>
{
    "input": {
        "name": "git_grep",
        "pattern": "@black_format"
    },
    "batcher": {
        "name": "single",
        "title": "Format all python files",
        "metadata": {
            "body": "Apply Black formatting to all python files with @black_format"
        }
    },
    "transformer": {
        "name": "script",
        "script": "black",
        "args": [
            "-l",
            "100",
            "<<KEY>>"
        ],
        "timeout": 360,
        "per_item": true
    },
    "config": {
        "schema_name": "Black Format",
        "allowed_validation_level": "warning"
    },
    "filters": [
        {
            "name": "regex",
            "pattern": ".*\\.py$"
        }
    ],
    "validators": [],
    "commands": [],
    "repo": {
        "name": "github",
        "base_branch": "main",
        "full_github_name": "nathro/ATTest"
    }
}
<<<<END SCHEMA>>>>
Batch JSON
<<<<BEGIN BATCH>>>>
{
    "title": "Format all python files",
    "items": [
        {
            "name": "file",
            "key": "/ATTest/attest/helloworld.py"
        }
    ],
    "metadata": {
        "body": "Apply Black formatting to all python files with @black_format"
    }
}
<<<<END BATCH>>>>

@AutoTransform AutoTransform force-pushed the AUTO_TRANSFORM/Black_Format/Format_all_python_files branch from 904e4de to 586764c Compare September 24, 2022 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants