From 10bed446f6f9eaf2ae2b6ca2bd1751dc8b77e39c Mon Sep 17 00:00:00 2001 From: aloctavodia Date: Mon, 2 Dec 2024 14:48:01 -0300 Subject: [PATCH] sort imports update pylint --- kulprit/projection/projector.py | 6 +++--- kulprit/projection/solver.py | 1 - requirements-dev.txt | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/kulprit/projection/projector.py b/kulprit/projection/projector.py index 6eb1b6f..284859b 100644 --- a/kulprit/projection/projector.py +++ b/kulprit/projection/projector.py @@ -1,21 +1,21 @@ # pylint: disable=too-many-instance-attributes """Base projection class.""" -from typing import Optional, Union, Sequence import collections +from typing import Optional, Sequence, Union import arviz as az import bambi as bmb - import numpy as np + from kulprit.data.submodel import SubModel -from kulprit.projection.solver import solve from kulprit.projection.pymc_io import ( compile_mllk, compute_llk, compute_new_model, get_model_information, ) +from kulprit.projection.solver import solve class Projector: diff --git a/kulprit/projection/solver.py b/kulprit/projection/solver.py index 2a3c902..9beff20 100644 --- a/kulprit/projection/solver.py +++ b/kulprit/projection/solver.py @@ -3,7 +3,6 @@ import arviz as az import numpy as np - from scipy.optimize import minimize diff --git a/requirements-dev.txt b/requirements-dev.txt index 4cc3947..00bb7d3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ black==22.3.0 -pylint==2.16.2 +pylint==3.1.0 pytest-cov>=2.6.1 pytest>=4.4.0 pre-commit>=2.19