feat(snakemake): add rules to locals (#7698)

This commit is contained in:
patricorgi 2025-03-06 12:47:57 -05:00 committed by GitHub
parent 794cf2f630
commit 16e8e19771
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -16,15 +16,15 @@
; Imports ; Imports
(aliased_import (aliased_import
alias: (identifier) @local.definition.import) alias: (identifier) @local.definition.import) @local.scope
(import_statement (import_statement
name: (dotted_name name: (dotted_name
(identifier) @local.definition.import)) (identifier) @local.definition.import)) @local.scope
(import_from_statement (import_from_statement
name: (dotted_name name: (dotted_name
(identifier) @local.definition.import)) (identifier) @local.definition.import)) @local.scope
; Function with parameters, defines parameters ; Function with parameters, defines parameters
(parameters (parameters

View file

@ -1 +1,4 @@
; inherits: python ; inherits: python
(rule_definition
name: (identifier) @local.definition.type) @local.scope