You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imports are sorted differently from file to file.
Sometimes we have native package imported after rl berry :
import multiprocessing
from rlberry.network.interface import ResourceItem
from rlberry.network.server import BerryServer
from rlberry.agents import ValueIterationAgent
from rlberry.agents.torch import REINFORCEAgent
from rlberry.envs import GridWorld, gym_make
from rlberry.utils.writers import DefaultWriter
import sys
sometimes mixed,
import numpy as np
from rlberry.agents import AgentWithSimplePolicy
import pickle
from typing import Any, Union
from typing_extensions import Self
from rlberry.envs.bandits.bandit_base import Bandit
from pathlib import Path
import rlberry
I suggest to use a tool like isort to automatically sort the imports for clearer and harmonized files (as well as satisfying the linters requirements).
The text was updated successfully, but these errors were encountered:
Imports are sorted differently from file to file.
Sometimes we have native package imported after rl berry :
sometimes mixed,
I suggest to use a tool like isort to automatically sort the imports for clearer and harmonized files (as well as satisfying the linters requirements).
The text was updated successfully, but these errors were encountered: