From 0e9597de54ad962c5fde1a0df4f2c3fdfbede265 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Tue, 3 Jun 2025 14:44:12 +0200 Subject: [PATCH] ruff check --fix . --- run.py | 2 -- src/pages/home.py | 1 - src/utils.py | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/run.py b/run.py index f0de9c4..215b786 100644 --- a/run.py +++ b/run.py @@ -1,5 +1,3 @@ -from os import getenv - from src.app import app # To use `gunicorn run:server` (prod) diff --git a/src/pages/home.py b/src/pages/home.py index eefb449..e5fd2f4 100644 --- a/src/pages/home.py +++ b/src/pages/home.py @@ -5,7 +5,6 @@ from time import sleep import polars as pl from dash import Input, Output, State, callback, dash_table, dcc, html, register_page from dotenv import load_dotenv -from narwhals.exceptions import ComputeError from polars.exceptions import ComputeError from src.utils import add_annuaire_link, split_filter_part diff --git a/src/utils.py b/src/utils.py index a10f729..dd0b57e 100644 --- a/src/utils.py +++ b/src/utils.py @@ -26,7 +26,7 @@ def add_annuaire_link(df: pl.LazyFrame): pl.when(pl.col("titulaire_typeIdentifiant") == "SIRET") .then( pl.col("titulaire_id") - + f' 📑' ) @@ -36,7 +36,7 @@ def add_annuaire_link(df: pl.LazyFrame): df = df.with_columns( ( pl.col("acheteur_id") - + f' 📑' ).alias("acheteur_id")