mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
lint
This commit is contained in:
parent
21c47db6c1
commit
ebb88e6c6a
24 changed files with 1215 additions and 814 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from collections import namedtuple
|
||||
from .Token import Token
|
||||
|
||||
from .General import dimensions_to_size, get_NUM_token_value
|
||||
from .Token import Token
|
||||
|
||||
"""
|
||||
This file holds the program's functions and global variables
|
||||
|
|
@ -55,7 +56,7 @@ def create_variable_from_definition(parser, index=None, advance_tokens=False):
|
|||
if index is None, then assumes we start at the current_token_index
|
||||
if advance_tokens is True, then modifies current_token_index accordingly using parser.advance_token()
|
||||
"""
|
||||
|
||||
|
||||
if index is None:
|
||||
index = parser.current_token_index
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue