Create AST Rules


2. What is an AST rule?

For AST rules, you need to select which entity in the tree you want to execute your rule against. To view the entire list of entities, their descriptions, and an example, go to the Codiga Documentation

Let's go!

Start interacting with the tutorial!

    your code
    import loggingimport requests def my_function():  foo = 1  foobar()
    Tree structure of your code
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.