diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 728326916..1edf7e184 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ on: push: branches: - develop + - dev - release pull_request: branches: @@ -26,7 +27,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.8", "3.9", "3.10", "3.11"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -56,6 +57,8 @@ jobs: - name: Install Graphviz for other platforms if: runner.os != 'Windows' uses: ts-graphviz/setup-graphviz@v2 + with: + macos-skip-brew-update: 'true' - name: Cache venv uses: actions/cache@v2 diff --git a/dataprep/__init__.py b/dataprep/__init__.py index bfa987add..78f02e7a4 100644 --- a/dataprep/__init__.py +++ b/dataprep/__init__.py @@ -4,6 +4,7 @@ Dataprep let you prepare your data using a single library with a few lines of code. """ + import logging DEFAULT_PARTITIONS = 1 diff --git a/dataprep/clean/address_utils.py b/dataprep/clean/address_utils.py index b544b7b05..c4dbcb1b2 100644 --- a/dataprep/clean/address_utils.py +++ b/dataprep/clean/address_utils.py @@ -1,6 +1,7 @@ """ Constants used by the clean_address() and validate_address() functions """ + # pylint: disable=C0301, C0302, E1101 from builtins import zip diff --git a/dataprep/clean/clean_ad_nrt.py b/dataprep/clean/clean_ad_nrt.py index 67077c30b..8fb1660df 100644 --- a/dataprep/clean/clean_ad_nrt.py +++ b/dataprep/clean/clean_ad_nrt.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Andorra NRT (Número de Registre Tributari, Andorra tax number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_al_nipt.py b/dataprep/clean/clean_al_nipt.py index 3baf9b742..098a689ec 100644 --- a/dataprep/clean/clean_al_nipt.py +++ b/dataprep/clean/clean_al_nipt.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing NIPT (Numri i Identifikimit për Personin e Tatueshëm, Albanian VAT number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ar_cbu.py b/dataprep/clean/clean_ar_cbu.py index dafb4d829..8f182af7c 100644 --- a/dataprep/clean/clean_ar_cbu.py +++ b/dataprep/clean/clean_ar_cbu.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing CBU (Clave Bancaria Uniforme, Argentine bank account number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ar_cuit.py b/dataprep/clean/clean_ar_cuit.py index e7a6248de..7639fd2ea 100644 --- a/dataprep/clean/clean_ar_cuit.py +++ b/dataprep/clean/clean_ar_cuit.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing CUIT (Código Único de Identificación Tributaria, Argentinian tax number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ar_dni.py b/dataprep/clean/clean_ar_dni.py index 8e25a4fd3..26c869bfc 100644 --- a/dataprep/clean/clean_ar_dni.py +++ b/dataprep/clean/clean_ar_dni.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing DNI (Documento Nacional de Identidad, Argentinian national identity nr.). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_at_uid.py b/dataprep/clean/clean_at_uid.py index bf5e87c59..538da1f9a 100644 --- a/dataprep/clean/clean_at_uid.py +++ b/dataprep/clean/clean_at_uid.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing UID (Umsatzsteuer-Identifikationsnummer, Austrian VAT number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_at_vnr.py b/dataprep/clean/clean_at_vnr.py index a1941a913..a4367fd11 100644 --- a/dataprep/clean/clean_at_vnr.py +++ b/dataprep/clean/clean_at_vnr.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing VNR, SVNR, VSNR (Versicherungsnummer, Austrian social security number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_au_abn.py b/dataprep/clean/clean_au_abn.py index 0c8d94cbf..d0df4cb83 100644 --- a/dataprep/clean/clean_au_abn.py +++ b/dataprep/clean/clean_au_abn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Australian Business Numbers (ABNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_au_acn.py b/dataprep/clean/clean_au_acn.py index f2be29032..edf96e3e8 100644 --- a/dataprep/clean/clean_au_acn.py +++ b/dataprep/clean/clean_au_acn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Australian Company Numbers (ACNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_au_tfn.py b/dataprep/clean/clean_au_tfn.py index 48f49574e..b41304c7b 100644 --- a/dataprep/clean/clean_au_tfn.py +++ b/dataprep/clean/clean_au_tfn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Australian Tax File Numbers (TFNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_be_iban.py b/dataprep/clean/clean_be_iban.py index 39645cefc..21c8e6045 100644 --- a/dataprep/clean/clean_be_iban.py +++ b/dataprep/clean/clean_be_iban.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Belgian IBANs. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_be_vat.py b/dataprep/clean/clean_be_vat.py index 1650b5122..e7da65a02 100644 --- a/dataprep/clean/clean_be_vat.py +++ b/dataprep/clean/clean_be_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Belgian VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_bg_egn.py b/dataprep/clean/clean_bg_egn.py index f33dc5788..f4cdcbd03 100644 --- a/dataprep/clean/clean_bg_egn.py +++ b/dataprep/clean/clean_bg_egn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Bulgarian national identification numbers (EGNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_bg_pnf.py b/dataprep/clean/clean_bg_pnf.py index a6273ea02..f0ab8f341 100644 --- a/dataprep/clean/clean_bg_pnf.py +++ b/dataprep/clean/clean_bg_pnf.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Bulgarian personal number of a foreigner. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_bg_vat.py b/dataprep/clean/clean_bg_vat.py index 53ffbe8ae..4a8e6ed19 100644 --- a/dataprep/clean/clean_bg_vat.py +++ b/dataprep/clean/clean_bg_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Bulgarian VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_bic.py b/dataprep/clean/clean_bic.py index 68c02a267..4d2248b9a 100644 --- a/dataprep/clean/clean_bic.py +++ b/dataprep/clean/clean_bic.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing ISO 9362 Business identifier codes. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_bitcoin.py b/dataprep/clean/clean_bitcoin.py index 03882c9b8..6c621831f 100644 --- a/dataprep/clean/clean_bitcoin.py +++ b/dataprep/clean/clean_bitcoin.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Bitcoin Addresses. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_br_cnpj.py b/dataprep/clean/clean_br_cnpj.py index 7293c669b..1f5c32b4a 100644 --- a/dataprep/clean/clean_br_cnpj.py +++ b/dataprep/clean/clean_br_cnpj.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing CNPJ numbers, Brazilian company identifier. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_br_cpf.py b/dataprep/clean/clean_br_cpf.py index c8def16c8..721b3500f 100644 --- a/dataprep/clean/clean_br_cpf.py +++ b/dataprep/clean/clean_br_cpf.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing CPF numbers, Brazilian national identifier. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_by_unp.py b/dataprep/clean/clean_by_unp.py index 6908980e6..65209f84d 100644 --- a/dataprep/clean/clean_by_unp.py +++ b/dataprep/clean/clean_by_unp.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Belarusian UNP numbers (UNPs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ca_bn.py b/dataprep/clean/clean_ca_bn.py index 753e26236..e914eb812 100644 --- a/dataprep/clean/clean_ca_bn.py +++ b/dataprep/clean/clean_ca_bn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Canadian Business Numbers (BNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ca_sin.py b/dataprep/clean/clean_ca_sin.py index b66e5be49..9369f5308 100644 --- a/dataprep/clean/clean_ca_sin.py +++ b/dataprep/clean/clean_ca_sin.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Canadian Social Insurance Numbers(SINs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_casrn.py b/dataprep/clean/clean_casrn.py index 367703e47..ccf2240b9 100644 --- a/dataprep/clean/clean_casrn.py +++ b/dataprep/clean/clean_casrn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing CAS Registry Numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ch_esr.py b/dataprep/clean/clean_ch_esr.py index 4205e2a5c..9a5e117de 100644 --- a/dataprep/clean/clean_ch_esr.py +++ b/dataprep/clean/clean_ch_esr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Swiss EinzahlungsSchein mit Referenznummer (ESRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ch_ssn.py b/dataprep/clean/clean_ch_ssn.py index f54a72b05..66eab09a5 100644 --- a/dataprep/clean/clean_ch_ssn.py +++ b/dataprep/clean/clean_ch_ssn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Swiss social security numbers (SSNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ch_uid.py b/dataprep/clean/clean_ch_uid.py index b2f8d8a0f..b146b5454 100644 --- a/dataprep/clean/clean_ch_uid.py +++ b/dataprep/clean/clean_ch_uid.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Swiss business identifiers (UIDs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ch_vat.py b/dataprep/clean/clean_ch_vat.py index 129154879..5c1fe2408 100644 --- a/dataprep/clean/clean_ch_vat.py +++ b/dataprep/clean/clean_ch_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Swiss VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cl_rut.py b/dataprep/clean/clean_cl_rut.py index 427276575..687b09f3c 100644 --- a/dataprep/clean/clean_cl_rut.py +++ b/dataprep/clean/clean_cl_rut.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Chile RUT/RUN numbers (RUTs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cn_ric.py b/dataprep/clean/clean_cn_ric.py index 2ad35fb95..02ec02565 100644 --- a/dataprep/clean/clean_cn_ric.py +++ b/dataprep/clean/clean_cn_ric.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Chinese Resident Identity Card Number (RICs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cn_uscc.py b/dataprep/clean/clean_cn_uscc.py index e0e0743e8..38e6f473b 100644 --- a/dataprep/clean/clean_cn_uscc.py +++ b/dataprep/clean/clean_cn_uscc.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Chinese Unified Social Credit Code (China tax number) (USCCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_co_nit.py b/dataprep/clean/clean_co_nit.py index 1cfed81c8..c31b7204c 100644 --- a/dataprep/clean/clean_co_nit.py +++ b/dataprep/clean/clean_co_nit.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Colombian identity codes (NITs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_country.py b/dataprep/clean/clean_country.py index 3b749558b..13154bc11 100644 --- a/dataprep/clean/clean_country.py +++ b/dataprep/clean/clean_country.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing country names. """ + from functools import lru_cache from operator import itemgetter from os import path @@ -371,9 +372,7 @@ def _get_format_if_allowed(input_format: str, allowed_formats: Tuple[str, ...]) return ( "name" if "name" in allowed_formats - else "official" - if "official" in allowed_formats - else None + else "official" if "official" in allowed_formats else None ) return input_format if input_format in allowed_formats else None diff --git a/dataprep/clean/clean_cr_cpf.py b/dataprep/clean/clean_cr_cpf.py index 4e9ff34a4..88e863417 100644 --- a/dataprep/clean/clean_cr_cpf.py +++ b/dataprep/clean/clean_cr_cpf.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Costa Rica physical person ID number (CPFs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cr_cpj.py b/dataprep/clean/clean_cr_cpj.py index 22ab4fa93..7d3e22895 100644 --- a/dataprep/clean/clean_cr_cpj.py +++ b/dataprep/clean/clean_cr_cpj.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Costa Rica tax number (CPJs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cr_cr.py b/dataprep/clean/clean_cr_cr.py index a57d40502..7ee1c6fe0 100644 --- a/dataprep/clean/clean_cr_cr.py +++ b/dataprep/clean/clean_cr_cr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Costa Rica foreigners ID number (CRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cu_ni.py b/dataprep/clean/clean_cu_ni.py index 6184b93ad..085dd9786 100644 --- a/dataprep/clean/clean_cu_ni.py +++ b/dataprep/clean/clean_cu_ni.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Cuban identity card numbers (NIs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_currency.py b/dataprep/clean/clean_currency.py index d12baf401..cd33d22b0 100644 --- a/dataprep/clean/clean_currency.py +++ b/dataprep/clean/clean_currency.py @@ -50,7 +50,6 @@ def clean_currency( report: bool = True, progress: bool = False, ) -> Union[pd.DataFrame, dd.DataFrame]: - """ Clean, standardize and convert currencies. diff --git a/dataprep/clean/clean_cusip.py b/dataprep/clean/clean_cusip.py index 233eec2c9..1a9148bea 100644 --- a/dataprep/clean/clean_cusip.py +++ b/dataprep/clean/clean_cusip.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing CUSIP numbers (financial security identification number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cy_vat.py b/dataprep/clean/clean_cy_vat.py index 28b269aac..15c6cc72a 100644 --- a/dataprep/clean/clean_cy_vat.py +++ b/dataprep/clean/clean_cy_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Cypriot VAT number (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cz_dic.py b/dataprep/clean/clean_cz_dic.py index 81a5ea73b..0365849fb 100644 --- a/dataprep/clean/clean_cz_dic.py +++ b/dataprep/clean/clean_cz_dic.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Czech VAT number (DICs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_cz_rc.py b/dataprep/clean/clean_cz_rc.py index 5d5e42783..abe130b7e 100644 --- a/dataprep/clean/clean_cz_rc.py +++ b/dataprep/clean/clean_cz_rc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Czech birth numbers (RCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_date.py b/dataprep/clean/clean_date.py index 407a57ad1..9b8001608 100644 --- a/dataprep/clean/clean_date.py +++ b/dataprep/clean/clean_date.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing dates and times. """ + # pylint: disable=too-many-lines import datetime from copy import deepcopy diff --git a/dataprep/clean/clean_date_utils.py b/dataprep/clean/clean_date_utils.py index 05cf2c3b3..007a9af25 100644 --- a/dataprep/clean/clean_date_utils.py +++ b/dataprep/clean/clean_date_utils.py @@ -1,6 +1,7 @@ """ Common definitions and classes for the clean_date function. """ + # pylint: disable-msg=too-many-branches import datetime @@ -200,7 +201,6 @@ class ParsedDate: - """Attributes of a parsed date. Attributes: year: Value of year. @@ -388,7 +388,6 @@ def _is_leap_year(self) -> bool: class ParsedTargetFormat: - """Attributes of a parsed target format. Attributes: year_token: Token standing of year. diff --git a/dataprep/clean/clean_de_handelsregisternummer.py b/dataprep/clean/clean_de_handelsregisternummer.py index d2a2d7487..2848f37f1 100644 --- a/dataprep/clean/clean_de_handelsregisternummer.py +++ b/dataprep/clean/clean_de_handelsregisternummer.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing German company registry id (handelsregisternummer). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_de_idnr.py b/dataprep/clean/clean_de_idnr.py index 95184fbeb..ddb647271 100644 --- a/dataprep/clean/clean_de_idnr.py +++ b/dataprep/clean/clean_de_idnr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing German personal tax number (IDNRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_de_stnr.py b/dataprep/clean/clean_de_stnr.py index 46b3f80f6..2be32e65c 100644 --- a/dataprep/clean/clean_de_stnr.py +++ b/dataprep/clean/clean_de_stnr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing German tax numbers (STNRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from typing import Optional diff --git a/dataprep/clean/clean_de_vat.py b/dataprep/clean/clean_de_vat.py index ca981ebcb..2dc371d2e 100644 --- a/dataprep/clean/clean_de_vat.py +++ b/dataprep/clean/clean_de_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing German VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_de_wkn.py b/dataprep/clean/clean_de_wkn.py index bb73daebe..2f6ece082 100644 --- a/dataprep/clean/clean_de_wkn.py +++ b/dataprep/clean/clean_de_wkn.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing German Securities Identification Codes (WKNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_df.py b/dataprep/clean/clean_df.py index 85c36b8a1..b275076e8 100644 --- a/dataprep/clean/clean_df.py +++ b/dataprep/clean/clean_df.py @@ -2,6 +2,7 @@ Conduct a set of operations that would be useful for cleaning and standardizing a full Pandas DataFrame. """ + # pylint: disable-msg=relative-beyond-top-level # pylint: disable-msg=cyclic-import diff --git a/dataprep/clean/clean_df_gui.py b/dataprep/clean/clean_df_gui.py index 7181856f0..222246a10 100644 --- a/dataprep/clean/clean_df_gui.py +++ b/dataprep/clean/clean_df_gui.py @@ -2,6 +2,7 @@ Conduct a set of operations that would be useful for cleaning and standardizing a full Pandas DataFrame. """ + # pylint: disable-msg=relative-beyond-top-level # pylint: disable-msg=cyclic-import # type: ignore diff --git a/dataprep/clean/clean_dk_cpr.py b/dataprep/clean/clean_dk_cpr.py index 07f8cde1b..30454b195 100644 --- a/dataprep/clean/clean_dk_cpr.py +++ b/dataprep/clean/clean_dk_cpr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Danish citizen number (CPRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_dk_cvr.py b/dataprep/clean/clean_dk_cvr.py index 7167a1053..5f4ed0346 100644 --- a/dataprep/clean/clean_dk_cvr.py +++ b/dataprep/clean/clean_dk_cvr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Danish CVR number (CVRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_do_cedula.py b/dataprep/clean/clean_do_cedula.py index 475f0657e..38f7f8d86 100644 --- a/dataprep/clean/clean_do_cedula.py +++ b/dataprep/clean/clean_do_cedula.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Dominican Republic national identifier (Cedulas). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_do_ncf.py b/dataprep/clean/clean_do_ncf.py index 48eb9ffed..0a22680dd 100644 --- a/dataprep/clean/clean_do_ncf.py +++ b/dataprep/clean/clean_do_ncf.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Dominican Republic invoice numbers (NCFs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_do_rnc.py b/dataprep/clean/clean_do_rnc.py index db014131d..1d7a2a91d 100644 --- a/dataprep/clean/clean_do_rnc.py +++ b/dataprep/clean/clean_do_rnc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Dominican Republic tax registration (RNCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_duplication_utils.py b/dataprep/clean/clean_duplication_utils.py index 4184ec4a6..b0b1cd028 100644 --- a/dataprep/clean/clean_duplication_utils.py +++ b/dataprep/clean/clean_duplication_utils.py @@ -1,6 +1,7 @@ """ Common functions and classes for the clean_duplication function. """ + # pylint: disable=no-name-in-module from string import punctuation from unicodedata import combining, category, normalize @@ -210,7 +211,6 @@ def _ngram_finger_print_key(self, val: str) -> str: def _create_replace_calls( self, cluster_page: pd.Series, do_merge: List[bool], new_values: List[str] ) -> str: - """ Creates a string containing the required replace function calls. diff --git a/dataprep/clean/clean_ean.py b/dataprep/clean/clean_ean.py index 2d696db78..65987d089 100644 --- a/dataprep/clean/clean_ean.py +++ b/dataprep/clean/clean_ean.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing EAN (International Article Number). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ec_ci.py b/dataprep/clean/clean_ec_ci.py index d955dde47..f54c85b22 100644 --- a/dataprep/clean/clean_ec_ci.py +++ b/dataprep/clean/clean_ec_ci.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Ecuadorian personal identity codes (CIs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ec_ruc.py b/dataprep/clean/clean_ec_ruc.py index 00bdb1486..9c00259d5 100644 --- a/dataprep/clean/clean_ec_ruc.py +++ b/dataprep/clean/clean_ec_ruc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Ecuadorian company tax number (RUCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ee_ik.py b/dataprep/clean/clean_ee_ik.py index c30e0825f..1d10a47af 100644 --- a/dataprep/clean/clean_ee_ik.py +++ b/dataprep/clean/clean_ee_ik.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Estonian Personcal ID numbers (IKs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ee_kmkr.py b/dataprep/clean/clean_ee_kmkr.py index 59ee88160..e5bbb83ee 100644 --- a/dataprep/clean/clean_ee_kmkr.py +++ b/dataprep/clean/clean_ee_kmkr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Estonian KMKR numbers (KMKRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ee_registrikood.py b/dataprep/clean/clean_ee_registrikood.py index a7f236905..b09681917 100644 --- a/dataprep/clean/clean_ee_registrikood.py +++ b/dataprep/clean/clean_ee_registrikood.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Estonian organisation registration codes. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_email.py b/dataprep/clean/clean_email.py index 77a362a6c..82be5964e 100644 --- a/dataprep/clean/clean_email.py +++ b/dataprep/clean/clean_email.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing email addresses. """ + import re from operator import itemgetter from typing import Any, Union diff --git a/dataprep/clean/clean_es_ccc.py b/dataprep/clean/clean_es_ccc.py index 4c31bb67c..5f3e1cb5f 100644 --- a/dataprep/clean/clean_es_ccc.py +++ b/dataprep/clean/clean_es_ccc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish Bank Account Codes (CCCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_es_cif.py b/dataprep/clean/clean_es_cif.py index cecbd9166..53cdd54e5 100644 --- a/dataprep/clean/clean_es_cif.py +++ b/dataprep/clean/clean_es_cif.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish fiscal numbers (CIFs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_es_cups.py b/dataprep/clean/clean_es_cups.py index 0d7c92ae0..f6044c352 100644 --- a/dataprep/clean/clean_es_cups.py +++ b/dataprep/clean/clean_es_cups.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish meter point numbers (CUPSs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_es_dni.py b/dataprep/clean/clean_es_dni.py index 96d65dd57..f857425e1 100644 --- a/dataprep/clean/clean_es_dni.py +++ b/dataprep/clean/clean_es_dni.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish personal identity codes (DNIs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_es_iban.py b/dataprep/clean/clean_es_iban.py index d186854c7..4f9f725ab 100644 --- a/dataprep/clean/clean_es_iban.py +++ b/dataprep/clean/clean_es_iban.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish IBANs (IBANs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_es_nie.py b/dataprep/clean/clean_es_nie.py index dfa674ba8..a15b571c1 100644 --- a/dataprep/clean/clean_es_nie.py +++ b/dataprep/clean/clean_es_nie.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish foreigner identity codes (NIEs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_es_nif.py b/dataprep/clean/clean_es_nif.py index ce020f503..c244256a5 100644 --- a/dataprep/clean/clean_es_nif.py +++ b/dataprep/clean/clean_es_nif.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish NIF numbers (NIFs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_es_referenciacatastral.py b/dataprep/clean/clean_es_referenciacatastral.py index b52fb1391..99124d892 100644 --- a/dataprep/clean/clean_es_referenciacatastral.py +++ b/dataprep/clean/clean_es_referenciacatastral.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Spanish real state ids. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_eu_at_02.py b/dataprep/clean/clean_eu_at_02.py index 7cf650fa8..b4ce19dff 100644 --- a/dataprep/clean/clean_eu_at_02.py +++ b/dataprep/clean/clean_eu_at_02.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing AT-02 (SEPA Creditor identifier). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_eu_banknote.py b/dataprep/clean/clean_eu_banknote.py index cdaed11fa..18b8a1532 100644 --- a/dataprep/clean/clean_eu_banknote.py +++ b/dataprep/clean/clean_eu_banknote.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Euro banknote serial numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_eu_eic.py b/dataprep/clean/clean_eu_eic.py index b820f13fb..97f7767d2 100644 --- a/dataprep/clean/clean_eu_eic.py +++ b/dataprep/clean/clean_eu_eic.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing European Energy Identification Codes. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_eu_nace.py b/dataprep/clean/clean_eu_nace.py index eb4ab0e8f..e3b4387a0 100644 --- a/dataprep/clean/clean_eu_nace.py +++ b/dataprep/clean/clean_eu_nace.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing classification for businesses in the European Union (NACE). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_eu_vat.py b/dataprep/clean/clean_eu_vat.py index a68b93f6a..37c2c865a 100644 --- a/dataprep/clean/clean_eu_vat.py +++ b/dataprep/clean/clean_eu_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing European VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fi_alv.py b/dataprep/clean/clean_fi_alv.py index c649fa03e..a7beb0390 100644 --- a/dataprep/clean/clean_fi_alv.py +++ b/dataprep/clean/clean_fi_alv.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Finnish ALV numbers (ALVs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fi_associationid.py b/dataprep/clean/clean_fi_associationid.py index cebbb33a6..913a8947b 100644 --- a/dataprep/clean/clean_fi_associationid.py +++ b/dataprep/clean/clean_fi_associationid.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Finnish association registry ids. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fi_hetu.py b/dataprep/clean/clean_fi_hetu.py index 3181c160e..4420c092d 100644 --- a/dataprep/clean/clean_fi_hetu.py +++ b/dataprep/clean/clean_fi_hetu.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Finnish personal identity codes (HETUs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fi_veronumero.py b/dataprep/clean/clean_fi_veronumero.py index 7992cdaf2..46767fc98 100644 --- a/dataprep/clean/clean_fi_veronumero.py +++ b/dataprep/clean/clean_fi_veronumero.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Finnish individual tax numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fi_ytunnus.py b/dataprep/clean/clean_fi_ytunnus.py index 2ec9fb5fc..9f8366f54 100644 --- a/dataprep/clean/clean_fi_ytunnus.py +++ b/dataprep/clean/clean_fi_ytunnus.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Finnish business identifiers (y-tunnus). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_figi.py b/dataprep/clean/clean_figi.py index 141660dbb..085f51621 100644 --- a/dataprep/clean/clean_figi.py +++ b/dataprep/clean/clean_figi.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing FIGI (Financial Instrument Global Identifier) Numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fr_nif.py b/dataprep/clean/clean_fr_nif.py index 61843b2f3..bc374a4d0 100644 --- a/dataprep/clean/clean_fr_nif.py +++ b/dataprep/clean/clean_fr_nif.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing French tax identification numbers (NIFs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fr_nir.py b/dataprep/clean/clean_fr_nir.py index cb2851a42..50859c37b 100644 --- a/dataprep/clean/clean_fr_nir.py +++ b/dataprep/clean/clean_fr_nir.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing French personal identification numbers (NIRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fr_siren.py b/dataprep/clean/clean_fr_siren.py index 63fe560db..1e241add0 100644 --- a/dataprep/clean/clean_fr_siren.py +++ b/dataprep/clean/clean_fr_siren.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing French company identification numbers (SIRENs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fr_siret.py b/dataprep/clean/clean_fr_siret.py index f51f37759..5b366c151 100644 --- a/dataprep/clean/clean_fr_siret.py +++ b/dataprep/clean/clean_fr_siret.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing French company establishment identification numbers (SIRETs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_fr_tva.py b/dataprep/clean/clean_fr_tva.py index 6c886eb54..5420891da 100644 --- a/dataprep/clean/clean_fr_tva.py +++ b/dataprep/clean/clean_fr_tva.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing French TVA numbers (TVAs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gb_nhs.py b/dataprep/clean/clean_gb_nhs.py index ea372440a..e4e0b713b 100644 --- a/dataprep/clean/clean_gb_nhs.py +++ b/dataprep/clean/clean_gb_nhs.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing United Kingdom National Health Service patient identifier (NHSs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gb_sedol.py b/dataprep/clean/clean_gb_sedol.py index cec331386..d77858a7a 100644 --- a/dataprep/clean/clean_gb_sedol.py +++ b/dataprep/clean/clean_gb_sedol.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Stock Exchange Daily Official List numbers (SEDOLs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gb_upn.py b/dataprep/clean/clean_gb_upn.py index 8a8645b37..3123f64d0 100644 --- a/dataprep/clean/clean_gb_upn.py +++ b/dataprep/clean/clean_gb_upn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing English Unique Pupil Numbers (UPNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gb_utr.py b/dataprep/clean/clean_gb_utr.py index ef5f3145b..127869520 100644 --- a/dataprep/clean/clean_gb_utr.py +++ b/dataprep/clean/clean_gb_utr.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing United Kingdom Unique Taxpayer Reference (UTRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gb_vat.py b/dataprep/clean/clean_gb_vat.py index 6985a6e1b..341e7c5db 100644 --- a/dataprep/clean/clean_gb_vat.py +++ b/dataprep/clean/clean_gb_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing United Kingdom VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gr_amka.py b/dataprep/clean/clean_gr_amka.py index ad87401ba..959856a17 100644 --- a/dataprep/clean/clean_gr_amka.py +++ b/dataprep/clean/clean_gr_amka.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Greek social security numbers (AMKAs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gr_vat.py b/dataprep/clean/clean_gr_vat.py index 86edd91a4..d3aff0aa7 100644 --- a/dataprep/clean/clean_gr_vat.py +++ b/dataprep/clean/clean_gr_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Greek VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_grid.py b/dataprep/clean/clean_grid.py index 498df3e56..e3af79158 100644 --- a/dataprep/clean/clean_grid.py +++ b/dataprep/clean/clean_grid.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Global Release Identifier (GRid) numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_gt_nit.py b/dataprep/clean/clean_gt_nit.py index 0bcb0b021..d0cf28acb 100644 --- a/dataprep/clean/clean_gt_nit.py +++ b/dataprep/clean/clean_gt_nit.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Guatemala tax numbers (NITs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_headers.py b/dataprep/clean/clean_headers.py index fe13e5bf0..54e64b35f 100644 --- a/dataprep/clean/clean_headers.py +++ b/dataprep/clean/clean_headers.py @@ -1,6 +1,7 @@ """ Clean and standardize column headers for a DataFrame. """ + import re from typing import Any, Dict, List, Optional, Union from unicodedata import normalize diff --git a/dataprep/clean/clean_hr_oib.py b/dataprep/clean/clean_hr_oib.py index e99894a12..09da24f8f 100644 --- a/dataprep/clean/clean_hr_oib.py +++ b/dataprep/clean/clean_hr_oib.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Croatian identification numbers (OIBs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_hu_anum.py b/dataprep/clean/clean_hu_anum.py index 6bb07c1b1..0f9553346 100644 --- a/dataprep/clean/clean_hu_anum.py +++ b/dataprep/clean/clean_hu_anum.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Hungarian ANUM numbers (ANUMs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_iban.py b/dataprep/clean/clean_iban.py index 8870165d0..4968daa64 100644 --- a/dataprep/clean/clean_iban.py +++ b/dataprep/clean/clean_iban.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing IBAN numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_id_npwp.py b/dataprep/clean/clean_id_npwp.py index 5b7e7a2ca..a3af66196 100644 --- a/dataprep/clean/clean_id_npwp.py +++ b/dataprep/clean/clean_id_npwp.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Indonesian VAT Numbers (NPWPs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ie_pps.py b/dataprep/clean/clean_ie_pps.py index dbcc8bc4f..8f16f90c1 100644 --- a/dataprep/clean/clean_ie_pps.py +++ b/dataprep/clean/clean_ie_pps.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Irish personal numbers (PPSs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ie_vat.py b/dataprep/clean/clean_ie_vat.py index 8e0b6da03..7c533c6b1 100644 --- a/dataprep/clean/clean_ie_vat.py +++ b/dataprep/clean/clean_ie_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Irish VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_il_hp.py b/dataprep/clean/clean_il_hp.py index e12a36e8e..f70a3e576 100644 --- a/dataprep/clean/clean_il_hp.py +++ b/dataprep/clean/clean_il_hp.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Israeli company numbers (HPs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_il_idnr.py b/dataprep/clean/clean_il_idnr.py index 8d4c68cab..6b17c6d7f 100644 --- a/dataprep/clean/clean_il_idnr.py +++ b/dataprep/clean/clean_il_idnr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Israeli personal numbers (IDNRs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_imei.py b/dataprep/clean/clean_imei.py index 7c3750e3f..957e8bb07 100644 --- a/dataprep/clean/clean_imei.py +++ b/dataprep/clean/clean_imei.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International Mobile Equipment Identity (IMEI) numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_imo.py b/dataprep/clean/clean_imo.py index 4cff00534..dc295886e 100644 --- a/dataprep/clean/clean_imo.py +++ b/dataprep/clean/clean_imo.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International Maritime Organization Numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_imsi.py b/dataprep/clean/clean_imsi.py index 13a0522aa..202249afd 100644 --- a/dataprep/clean/clean_imsi.py +++ b/dataprep/clean/clean_imsi.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International Mobile Subscriber Identity (IMSI) numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_in_aadhaar.py b/dataprep/clean/clean_in_aadhaar.py index ecd86f9aa..28dd42000 100644 --- a/dataprep/clean/clean_in_aadhaar.py +++ b/dataprep/clean/clean_in_aadhaar.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Indian digital resident personal identity numbers (Aadhaars). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_in_pan.py b/dataprep/clean/clean_in_pan.py index 218ff933d..1156e1db2 100644 --- a/dataprep/clean/clean_in_pan.py +++ b/dataprep/clean/clean_in_pan.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Indian Permanent Account numbers (PANs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ip.py b/dataprep/clean/clean_ip.py index bd03f10bb..3bebd6274 100644 --- a/dataprep/clean/clean_ip.py +++ b/dataprep/clean/clean_ip.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing IP addresses. """ + from ipaddress import ip_address from operator import itemgetter from typing import Any, Union diff --git a/dataprep/clean/clean_is_kennitala.py b/dataprep/clean/clean_is_kennitala.py index ddf9701b9..8069882b8 100644 --- a/dataprep/clean/clean_is_kennitala.py +++ b/dataprep/clean/clean_is_kennitala.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Icelandic identity codes (Kennitalas). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_is_vsk.py b/dataprep/clean/clean_is_vsk.py index 74d769c79..02ea1e083 100644 --- a/dataprep/clean/clean_is_vsk.py +++ b/dataprep/clean/clean_is_vsk.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Icelandic VSK numbers (VSKs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_isan.py b/dataprep/clean/clean_isan.py index 0e6c1cc77..cd47d67d3 100644 --- a/dataprep/clean/clean_isan.py +++ b/dataprep/clean/clean_isan.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International Standard Audiovisual Numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_isbn.py b/dataprep/clean/clean_isbn.py index c9d346c98..11b94e14e 100644 --- a/dataprep/clean/clean_isbn.py +++ b/dataprep/clean/clean_isbn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing ISBN numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_isil.py b/dataprep/clean/clean_isil.py index f5fd5793f..340a2bd67 100644 --- a/dataprep/clean/clean_isil.py +++ b/dataprep/clean/clean_isil.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International Standard Identifier for Libraries (ISIL) numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_isin.py b/dataprep/clean/clean_isin.py index 4eb4b09da..42696148e 100644 --- a/dataprep/clean/clean_isin.py +++ b/dataprep/clean/clean_isin.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International Securities Identification Number (ISIN) numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ismn.py b/dataprep/clean/clean_ismn.py index d8624da7a..0f7c15ad3 100644 --- a/dataprep/clean/clean_ismn.py +++ b/dataprep/clean/clean_ismn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing ISMN numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_issn.py b/dataprep/clean/clean_issn.py index 21d217249..8c53bcce5 100644 --- a/dataprep/clean/clean_issn.py +++ b/dataprep/clean/clean_issn.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International Standard Serial Numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_it_aic.py b/dataprep/clean/clean_it_aic.py index 8b02d0adf..40c6705f0 100644 --- a/dataprep/clean/clean_it_aic.py +++ b/dataprep/clean/clean_it_aic.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Italian code for identification of drugs (AICs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_it_codicefiscale.py b/dataprep/clean/clean_it_codicefiscale.py index 0ade2ab3c..30ca03347 100644 --- a/dataprep/clean/clean_it_codicefiscale.py +++ b/dataprep/clean/clean_it_codicefiscale.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Italian fiscal codes (Codice Fiscales). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_it_iva.py b/dataprep/clean/clean_it_iva.py index 776330a84..4bdb3a10b 100644 --- a/dataprep/clean/clean_it_iva.py +++ b/dataprep/clean/clean_it_iva.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Italian IVA numbers (IVAs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_jp_cn.py b/dataprep/clean/clean_jp_cn.py index ab952d597..466db4b91 100644 --- a/dataprep/clean/clean_jp_cn.py +++ b/dataprep/clean/clean_jp_cn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Japanese Corporate Numbers (CNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_json.py b/dataprep/clean/clean_json.py index cd0d2a945..b3d999405 100644 --- a/dataprep/clean/clean_json.py +++ b/dataprep/clean/clean_json.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing JSON. """ + from typing import Any, Union import json diff --git a/dataprep/clean/clean_kr_brn.py b/dataprep/clean/clean_kr_brn.py index 633183262..0886b61c5 100644 --- a/dataprep/clean/clean_kr_brn.py +++ b/dataprep/clean/clean_kr_brn.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing South Korea Business Registration Numbers (BRNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_kr_rrn.py b/dataprep/clean/clean_kr_rrn.py index cd70a0cc1..7c4d86b45 100644 --- a/dataprep/clean/clean_kr_rrn.py +++ b/dataprep/clean/clean_kr_rrn.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing South Korean resident registration numbers (RRNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_lat_long.py b/dataprep/clean/clean_lat_long.py index ec97e793f..1d1a4bfec 100644 --- a/dataprep/clean/clean_lat_long.py +++ b/dataprep/clean/clean_lat_long.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing geographic coordinates. """ + import re from operator import itemgetter from typing import Any, Optional, Tuple, Union diff --git a/dataprep/clean/clean_lei.py b/dataprep/clean/clean_lei.py index 423f28522..81c01051f 100644 --- a/dataprep/clean/clean_lei.py +++ b/dataprep/clean/clean_lei.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Legal Entity Identifier (LEI) Numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_li_peid.py b/dataprep/clean/clean_li_peid.py index 6ff2156ce..82f52b0d0 100644 --- a/dataprep/clean/clean_li_peid.py +++ b/dataprep/clean/clean_li_peid.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Liechtenstein tax code for individuals and entities (PEIDs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_lt_asmens.py b/dataprep/clean/clean_lt_asmens.py index 5b3a7a4d6..ab5111b8e 100644 --- a/dataprep/clean/clean_lt_asmens.py +++ b/dataprep/clean/clean_lt_asmens.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Lithuanian personal numbers (Asmens kodas). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_lt_pvm.py b/dataprep/clean/clean_lt_pvm.py index 4e3caeacb..78b3546f3 100644 --- a/dataprep/clean/clean_lt_pvm.py +++ b/dataprep/clean/clean_lt_pvm.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Lithuanian PVM numbers (PVMs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_lu_tva.py b/dataprep/clean/clean_lu_tva.py index dc6a0eb52..aa8790947 100644 --- a/dataprep/clean/clean_lu_tva.py +++ b/dataprep/clean/clean_lu_tva.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Luxembourgian TVA numbers (TVAs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_lv_pvn.py b/dataprep/clean/clean_lv_pvn.py index 7122cdaae..994f872cf 100644 --- a/dataprep/clean/clean_lv_pvn.py +++ b/dataprep/clean/clean_lv_pvn.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Latvian PVN (VAT) numbers (PVNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_mc_tva.py b/dataprep/clean/clean_mc_tva.py index 8521617c4..e8cb09aeb 100644 --- a/dataprep/clean/clean_mc_tva.py +++ b/dataprep/clean/clean_mc_tva.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Monacan TVA numbers (TVAs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_md_idno.py b/dataprep/clean/clean_md_idno.py index 4b815bdb9..6a88f4151 100644 --- a/dataprep/clean/clean_md_idno.py +++ b/dataprep/clean/clean_md_idno.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Moldavian company identification numbers (IDNOs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_me_iban.py b/dataprep/clean/clean_me_iban.py index 3834e014b..12615446e 100644 --- a/dataprep/clean/clean_me_iban.py +++ b/dataprep/clean/clean_me_iban.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Montenegro IBANs (IBANs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_meid.py b/dataprep/clean/clean_meid.py index 120be26a8..5a9cf7da3 100644 --- a/dataprep/clean/clean_meid.py +++ b/dataprep/clean/clean_meid.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Mobile Equipment Identifiers (MEIDs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_mt_vat.py b/dataprep/clean/clean_mt_vat.py index ac10880d7..da436ebd9 100644 --- a/dataprep/clean/clean_mt_vat.py +++ b/dataprep/clean/clean_mt_vat.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Maltese VAT numbers (VATs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_mu_nid.py b/dataprep/clean/clean_mu_nid.py index c1b9dae8b..e84e4deea 100644 --- a/dataprep/clean/clean_mu_nid.py +++ b/dataprep/clean/clean_mu_nid.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Mauritian national ID numbers (NIDs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_mx_curp.py b/dataprep/clean/clean_mx_curp.py index 8695d2190..f0b308462 100644 --- a/dataprep/clean/clean_mx_curp.py +++ b/dataprep/clean/clean_mx_curp.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Mexican personal identifiers (CURPs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_mx_rfc.py b/dataprep/clean/clean_mx_rfc.py index 2c6369c9e..8a2f75b25 100644 --- a/dataprep/clean/clean_mx_rfc.py +++ b/dataprep/clean/clean_mx_rfc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Mexican tax numbers (RFCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_my_nric.py b/dataprep/clean/clean_my_nric.py index 66bc96f2a..201b0659c 100644 --- a/dataprep/clean/clean_my_nric.py +++ b/dataprep/clean/clean_my_nric.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Malaysian National Registration Identity Card Numbers (NRICs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_nl_brin.py b/dataprep/clean/clean_nl_brin.py index 609d919b0..7869b7122 100644 --- a/dataprep/clean/clean_nl_brin.py +++ b/dataprep/clean/clean_nl_brin.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Brin numbers (BRINs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_nl_bsn.py b/dataprep/clean/clean_nl_bsn.py index b0223375f..96604bfd9 100644 --- a/dataprep/clean/clean_nl_bsn.py +++ b/dataprep/clean/clean_nl_bsn.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Burgerservicenummer, the Dutch citizen identification numbers (BSNs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_nl_btw.py b/dataprep/clean/clean_nl_btw.py index b00a0e284..dd83b87b0 100644 --- a/dataprep/clean/clean_nl_btw.py +++ b/dataprep/clean/clean_nl_btw.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Dutch BTW numbers (BTWs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_nl_onderwijsnummer.py b/dataprep/clean/clean_nl_onderwijsnummer.py index b5f15f6ef..038db0cde 100644 --- a/dataprep/clean/clean_nl_onderwijsnummer.py +++ b/dataprep/clean/clean_nl_onderwijsnummer.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing Onderwijsnummer, the Dutch student identification number. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_nl_postcode.py b/dataprep/clean/clean_nl_postcode.py index 6c7475af5..2844c4e63 100644 --- a/dataprep/clean/clean_nl_postcode.py +++ b/dataprep/clean/clean_nl_postcode.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Dutch postal codes. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_no_fodselsnummer.py b/dataprep/clean/clean_no_fodselsnummer.py index e8cdba8c7..3ef88d103 100644 --- a/dataprep/clean/clean_no_fodselsnummer.py +++ b/dataprep/clean/clean_no_fodselsnummer.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Norwegian birth numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_no_iban.py b/dataprep/clean/clean_no_iban.py index 8ab2720d3..1b65c93f1 100644 --- a/dataprep/clean/clean_no_iban.py +++ b/dataprep/clean/clean_no_iban.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Norwegian IBANs (IBANs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_no_kontonr.py b/dataprep/clean/clean_no_kontonr.py index 48fd9ed13..44c38dda5 100644 --- a/dataprep/clean/clean_no_kontonr.py +++ b/dataprep/clean/clean_no_kontonr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Norwegian bank account numbers (kontonrs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_no_mva.py b/dataprep/clean/clean_no_mva.py index 5ee5985f8..425771966 100644 --- a/dataprep/clean/clean_no_mva.py +++ b/dataprep/clean/clean_no_mva.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Norwegian VAT numbers (MVAs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_no_orgnr.py b/dataprep/clean/clean_no_orgnr.py index 83546a5cc..599778654 100644 --- a/dataprep/clean/clean_no_orgnr.py +++ b/dataprep/clean/clean_no_orgnr.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Norwegian organisation numbers (Orgnrs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_nz_bankaccount.py b/dataprep/clean/clean_nz_bankaccount.py index 2a2df6f79..440ba62e5 100644 --- a/dataprep/clean/clean_nz_bankaccount.py +++ b/dataprep/clean/clean_nz_bankaccount.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing New Zealand bank account numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_nz_ird.py b/dataprep/clean/clean_nz_ird.py index 69a558f4e..7687905ee 100644 --- a/dataprep/clean/clean_nz_ird.py +++ b/dataprep/clean/clean_nz_ird.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing New Zealand IRD numbers (IRDs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_pe_cui.py b/dataprep/clean/clean_pe_cui.py index a7368a5c4..7b7c500bc 100644 --- a/dataprep/clean/clean_pe_cui.py +++ b/dataprep/clean/clean_pe_cui.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Peruvian personal numbers (CUIs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_pe_ruc.py b/dataprep/clean/clean_pe_ruc.py index 62e50973f..6523f0208 100644 --- a/dataprep/clean/clean_pe_ruc.py +++ b/dataprep/clean/clean_pe_ruc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Peruvian fiscal numbers (RUCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_phone.py b/dataprep/clean/clean_phone.py index 81d1ff9fb..4aa37c339 100644 --- a/dataprep/clean/clean_phone.py +++ b/dataprep/clean/clean_phone.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing phone numbers. """ + import re from operator import itemgetter from typing import Any, Union diff --git a/dataprep/clean/clean_pl_nip.py b/dataprep/clean/clean_pl_nip.py index abeb64bfb..9a1ab42e9 100644 --- a/dataprep/clean/clean_pl_nip.py +++ b/dataprep/clean/clean_pl_nip.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Polish VAT numbers (NIPs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_pl_pesel.py b/dataprep/clean/clean_pl_pesel.py index be67d6e65..358dd3aba 100644 --- a/dataprep/clean/clean_pl_pesel.py +++ b/dataprep/clean/clean_pl_pesel.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Polish national identification numbers (PESELs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_pl_regon.py b/dataprep/clean/clean_pl_regon.py index 20bb20505..5ed2db9da 100644 --- a/dataprep/clean/clean_pl_regon.py +++ b/dataprep/clean/clean_pl_regon.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Polish register of economic units (REGONs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_pt_nif.py b/dataprep/clean/clean_pt_nif.py index 9068631e6..562e4416e 100644 --- a/dataprep/clean/clean_pt_nif.py +++ b/dataprep/clean/clean_pt_nif.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Portuguese NIF numbers (NIFs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_py_ruc.py b/dataprep/clean/clean_py_ruc.py index f9f52d1a2..ac36cef4b 100644 --- a/dataprep/clean/clean_py_ruc.py +++ b/dataprep/clean/clean_py_ruc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Paraguay RUC numbers (RUCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ro_cf.py b/dataprep/clean/clean_ro_cf.py index f42527b7f..8784832be 100644 --- a/dataprep/clean/clean_ro_cf.py +++ b/dataprep/clean/clean_ro_cf.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Romanian CF (VAT) numbers (CFs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ro_cnp.py b/dataprep/clean/clean_ro_cnp.py index 8d42e76b0..e131001f2 100644 --- a/dataprep/clean/clean_ro_cnp.py +++ b/dataprep/clean/clean_ro_cnp.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Romanian Numerical Personal Codes (CNPs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ro_cui.py b/dataprep/clean/clean_ro_cui.py index 37db5a19c..5d1a5d09d 100644 --- a/dataprep/clean/clean_ro_cui.py +++ b/dataprep/clean/clean_ro_cui.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Romanian company identifiers (CUIs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_ro_onrc.py b/dataprep/clean/clean_ro_onrc.py index cce5aa4d6..251c018cf 100644 --- a/dataprep/clean/clean_ro_onrc.py +++ b/dataprep/clean/clean_ro_onrc.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing Romanian Trade Register identifiers (ONRCs). """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/clean_text.py b/dataprep/clean/clean_text.py index f769539e9..82893922f 100644 --- a/dataprep/clean/clean_text.py +++ b/dataprep/clean/clean_text.py @@ -1,6 +1,7 @@ """ Clean a DataFrame column containing text data. """ + import re import string from functools import partial, update_wrapper diff --git a/dataprep/clean/clean_url.py b/dataprep/clean/clean_url.py index 34a4f5a13..a1d1fd23f 100644 --- a/dataprep/clean/clean_url.py +++ b/dataprep/clean/clean_url.py @@ -1,6 +1,7 @@ """ Clean and validate a DataFrame column containing URLs. """ + import re from operator import itemgetter from typing import Any, List, Union diff --git a/dataprep/clean/clean_vatin.py b/dataprep/clean/clean_vatin.py index 36bdf6873..9640c3895 100644 --- a/dataprep/clean/clean_vatin.py +++ b/dataprep/clean/clean_vatin.py @@ -2,6 +2,7 @@ Clean and validate a DataFrame column containing International value added tax identification numbers. """ + # pylint: disable=too-many-lines, too-many-arguments, too-many-branches, unused-argument, E1101, E1133 from typing import Any, Union from operator import itemgetter diff --git a/dataprep/clean/components/cat_encoder.py b/dataprep/clean/components/cat_encoder.py index 1c8e4d62e..1329ef32a 100644 --- a/dataprep/clean/components/cat_encoder.py +++ b/dataprep/clean/components/cat_encoder.py @@ -9,7 +9,6 @@ class CatEncoder: - """Categorical encoder for encoding categorical columns Attributes: encode_type diff --git a/dataprep/clean/components/cat_imputation/constant_imputer.py b/dataprep/clean/components/cat_imputation/constant_imputer.py index c83433f33..c123767a7 100644 --- a/dataprep/clean/components/cat_imputation/constant_imputer.py +++ b/dataprep/clean/components/cat_imputation/constant_imputer.py @@ -72,7 +72,6 @@ def fit_transform(self, col_df: dd.Series) -> dd.Series: return self.fit(col_df).transform(col_df) def fillna(self, val: str) -> str: - """ Check if the value is in the list of null value. If yes, impute the data column with constant value. diff --git a/dataprep/clean/components/cat_imputer.py b/dataprep/clean/components/cat_imputer.py index ca07d0fe7..1197ef17c 100644 --- a/dataprep/clean/components/cat_imputer.py +++ b/dataprep/clean/components/cat_imputer.py @@ -9,7 +9,6 @@ class CatImputer: - """Categorical imputer for imputing missing values in categorical columns Attributes: impute_type diff --git a/dataprep/clean/components/num_imputer.py b/dataprep/clean/components/num_imputer.py index ee534cce7..feb5718a3 100644 --- a/dataprep/clean/components/num_imputer.py +++ b/dataprep/clean/components/num_imputer.py @@ -20,7 +20,6 @@ class NumImputer: """ def __init__(self, num_pipe_info: Dict[str, Any]) -> None: - """ This function initiate numerical imputer. diff --git a/dataprep/clean/gui/clean_gui.py b/dataprep/clean/gui/clean_gui.py index c11904611..3076d614d 100644 --- a/dataprep/clean/gui/clean_gui.py +++ b/dataprep/clean/gui/clean_gui.py @@ -1,6 +1,7 @@ """ Flask backend of Dataprep.Clean GUI. """ + # pylint: disable=R0912, R0915 from typing import Any diff --git a/dataprep/clean/pipeline.py b/dataprep/clean/pipeline.py index e88d49bf1..da6e14d27 100644 --- a/dataprep/clean/pipeline.py +++ b/dataprep/clean/pipeline.py @@ -11,7 +11,6 @@ class Pipeline: - """Pipeline for managing categorical column and numerical column. Attributes: cat_pipeline diff --git a/dataprep/clean/utils.py b/dataprep/clean/utils.py index 2e19613b9..3360e9675 100644 --- a/dataprep/clean/utils.py +++ b/dataprep/clean/utils.py @@ -1,4 +1,5 @@ """Common functions""" + import http.client import json from math import ceil diff --git a/dataprep/connector/config_manager.py b/dataprep/connector/config_manager.py index 4dacaba1e..b0434e1cf 100644 --- a/dataprep/connector/config_manager.py +++ b/dataprep/connector/config_manager.py @@ -1,6 +1,7 @@ """ Functions for config downloading and maintaining """ + import json from json import dump as jdump from pathlib import Path diff --git a/dataprep/connector/connector.py b/dataprep/connector/connector.py index f0e531350..30ddd453d 100644 --- a/dataprep/connector/connector.py +++ b/dataprep/connector/connector.py @@ -2,6 +2,7 @@ This module contains the Connector class. Every data fetching action should begin with instantiating this Connector class. """ + import math import sys from asyncio import as_completed diff --git a/dataprep/connector/errors.py b/dataprep/connector/errors.py index 7890c447a..5bc7a3c2d 100644 --- a/dataprep/connector/errors.py +++ b/dataprep/connector/errors.py @@ -1,6 +1,7 @@ """ Module defines errors used in this library. """ + from typing import Set from ..errors import DataprepError diff --git a/dataprep/connector/generator/__init__.py b/dataprep/connector/generator/__init__.py index a1a7e08b3..724cae78c 100644 --- a/dataprep/connector/generator/__init__.py +++ b/dataprep/connector/generator/__init__.py @@ -1,4 +1,5 @@ """ConfigGenerator""" + from .generator import ConfigGenerator from .ui import ConfigGeneratorUI diff --git a/dataprep/connector/generator/ui.py b/dataprep/connector/generator/ui.py index b356a9f9b..922f7bcb0 100644 --- a/dataprep/connector/generator/ui.py +++ b/dataprep/connector/generator/ui.py @@ -1,6 +1,5 @@ """This module implements the generation of connector config generation UI.""" - from base64 import b64encode from typing import Any, Dict, Generator, Optional, Tuple from zipfile import ZipFile @@ -206,9 +205,11 @@ def _on_send_request(self, _: Any) -> None: "method": self.request_type.value, "params": params_value, "pagination": pagparams, - "authorization": (authparams, authparams_user) - if self.authtype_box.value != "No Authorization" - else None, + "authorization": ( + (authparams, authparams_user) + if self.authtype_box.value != "No Authorization" + else None + ), } backend = ConfigGenerator(self.existing) diff --git a/dataprep/connector/implicit_database.py b/dataprep/connector/implicit_database.py index aca901e85..651bc6877 100644 --- a/dataprep/connector/implicit_database.py +++ b/dataprep/connector/implicit_database.py @@ -3,6 +3,7 @@ where ImplicitDatabase is a conceptual model describes a website and ImplicitTable describes an API endpoint. """ + from json import load as jload from json import loads as jloads from pathlib import Path diff --git a/dataprep/connector/info.py b/dataprep/connector/info.py index ed62edf39..c8d07d255 100644 --- a/dataprep/connector/info.py +++ b/dataprep/connector/info.py @@ -1,4 +1,5 @@ """This module contains back end functions helping developers use data connector.""" + from typing import Any, Dict, List import pandas as pd diff --git a/dataprep/connector/info_ui.py b/dataprep/connector/info_ui.py index b88ca9431..6dbe98d5a 100644 --- a/dataprep/connector/info_ui.py +++ b/dataprep/connector/info_ui.py @@ -1,4 +1,5 @@ """This module handles displaying information on how to connect and query.""" + from typing import Any, Dict from jinja2 import Environment, PackageLoader, select_autoescape from ..utils import display_html diff --git a/dataprep/connector/schema/defs.py b/dataprep/connector/schema/defs.py index 662b1cbd0..d564f5378 100644 --- a/dataprep/connector/schema/defs.py +++ b/dataprep/connector/schema/defs.py @@ -1,4 +1,5 @@ """Strong typed schema definition.""" + import http.server import json import random diff --git a/dataprep/connector/sql.py b/dataprep/connector/sql.py index 00b88262c..094dde57b 100644 --- a/dataprep/connector/sql.py +++ b/dataprep/connector/sql.py @@ -2,6 +2,7 @@ This module contains the method of read_sql. It is a wrapper on connectorx.read_sql function. """ + from typing import Optional, Tuple, Union, List, Any try: diff --git a/dataprep/connector/throttler.py b/dataprep/connector/throttler.py index 059be1d93..c4fb2e714 100644 --- a/dataprep/connector/throttler.py +++ b/dataprep/connector/throttler.py @@ -2,6 +2,7 @@ Throttler limits how many requests can issue given a specific time window Copied from https://github.com/hallazzang/asyncio-throttle """ + import time import asyncio from collections import deque diff --git a/dataprep/connector/utils.py b/dataprep/connector/utils.py index 7b4381452..7bcadee20 100644 --- a/dataprep/connector/utils.py +++ b/dataprep/connector/utils.py @@ -1,6 +1,7 @@ """ This module contains common utilities used by the connector """ + from typing import Any, Dict, Optional import http.client import urllib.parse diff --git a/dataprep/eda/__init__.py b/dataprep/eda/__init__.py index 593f8a67b..3b6765940 100644 --- a/dataprep/eda/__init__.py +++ b/dataprep/eda/__init__.py @@ -2,6 +2,7 @@ dataprep.eda ============ """ + from bokeh.io import output_notebook from ..utils import is_notebook diff --git a/dataprep/eda/correlation/render.py b/dataprep/eda/correlation/render.py index 2f185ca2a..e3b541517 100644 --- a/dataprep/eda/correlation/render.py +++ b/dataprep/eda/correlation/render.py @@ -2,6 +2,7 @@ This module implements the visualization for plot_correlation(df) function """ + from typing import Any, Dict, List, Sequence, Tuple import numpy as np @@ -93,6 +94,7 @@ def render_correlation(itmdt: Intermediate, cfg: Config) -> Any: # _discard_unused_visual_elems(fig) # return fig + ########## HeatMaps ########## def tweak_figure(fig: Figure) -> None: """ diff --git a/dataprep/eda/create_db_report/__init__.py b/dataprep/eda/create_db_report/__init__.py index 5b7943c3f..1cf5b7102 100644 --- a/dataprep/eda/create_db_report/__init__.py +++ b/dataprep/eda/create_db_report/__init__.py @@ -1,6 +1,7 @@ """ This module implements the create_db_report(sql_engine) function. """ + import warnings from sqlalchemy.engine.base import Engine from .run_function import generate_db_report diff --git a/dataprep/eda/create_db_report/header/sql_metadata.py b/dataprep/eda/create_db_report/header/sql_metadata.py index 9e3f61d9b..26ac68293 100644 --- a/dataprep/eda/create_db_report/header/sql_metadata.py +++ b/dataprep/eda/create_db_report/header/sql_metadata.py @@ -85,7 +85,7 @@ def plot_mysql_db(sql_engine: Engine): for i in table_list: indices = {} index = pd.read_sql("SHOW INDEX FROM " + str(i) + " FROM " + db_name + ";", sql_engine) - for (idx, row) in index.iterrows(): + for idx, row in index.iterrows(): if row.loc["Key_name"] in indices: indices[row.loc["Key_name"]]["Column_name"] += "," + row.loc["Column_name"] # indices[row.loc['Key_name']]['Index_type']+="/"+row.loc['Index_type'] @@ -284,7 +284,7 @@ def plot_postgres_db(postgres_engine: Engine): "SELECT * FROM pg_indexes WHERE tablename= " + "'" + str(i) + "'" + ";", postgres_engine, ) - for (idx, row) in index.iterrows(): + for idx, row in index.iterrows(): current_index = row.loc["indexname"] indices[current_index] = {} index_type, col_name = (row.loc["indexdef"].split("USING ", 1)[1]).split(" ", 1) @@ -492,7 +492,7 @@ def plot_sqlite_db(sqliteConnection: Engine, analyze: bool = False): for i in table_list: indices = {} table_indexes = index.loc[index["tbl_name"] == str(i)] - for (idx, row) in table_indexes.iterrows(): + for idx, row in table_indexes.iterrows(): current_index = row.loc["name"] indices[current_index] = {} index_type = row.loc["type"] diff --git a/dataprep/eda/create_db_report/report.py b/dataprep/eda/create_db_report/report.py index 1f35838ca..fe9948f55 100644 --- a/dataprep/eda/create_db_report/report.py +++ b/dataprep/eda/create_db_report/report.py @@ -1,6 +1,7 @@ """ This module implements the Report class for create_db_report. """ + import os import shutil import warnings diff --git a/dataprep/eda/create_db_report/run_function.py b/dataprep/eda/create_db_report/run_function.py index 316a994cd..f377c3db6 100644 --- a/dataprep/eda/create_db_report/run_function.py +++ b/dataprep/eda/create_db_report/run_function.py @@ -121,9 +121,11 @@ def parse_tables( column["type"], str(column["attnotnull"]).upper() == "TRUE", column["default"], - str(column["auto_increment"]).upper() == "TRUE" - if "auto_increment" in column - else False, + ( + str(column["auto_increment"]).upper() == "TRUE" + if "auto_increment" in column + else False + ), column["description"] if "description" in column else "", ) current_table.add_column(c.upper(), create_table_column) @@ -144,9 +146,11 @@ def parse_tables( column["type"], column["attnotnull"] == "True", column["default"], - str(column["auto_increment"]).upper() == "TRUE" - if "auto_increment" in column - else False, + ( + str(column["auto_increment"]).upper() == "TRUE" + if "auto_increment" in column + else False + ), column["description"] if "description" in column else "", ) collect_columns[c.upper()] = create_view_column diff --git a/dataprep/eda/create_diff_report/__init__.py b/dataprep/eda/create_diff_report/__init__.py index e48d6f8a5..27199be11 100644 --- a/dataprep/eda/create_diff_report/__init__.py +++ b/dataprep/eda/create_diff_report/__init__.py @@ -1,6 +1,7 @@ """ This module implements the create_diff_report([df1, df2]) function. """ + import warnings from typing import Any, Dict, List, Optional, Union diff --git a/dataprep/eda/create_report/__init__.py b/dataprep/eda/create_report/__init__.py index 593608691..61b72a0b3 100644 --- a/dataprep/eda/create_report/__init__.py +++ b/dataprep/eda/create_report/__init__.py @@ -1,6 +1,7 @@ """ This module implements the create_report(df) function. """ + import warnings from typing import Any, Dict, List, Optional diff --git a/dataprep/eda/create_report/report.py b/dataprep/eda/create_report/report.py index 457c44993..387480572 100644 --- a/dataprep/eda/create_report/report.py +++ b/dataprep/eda/create_report/report.py @@ -1,6 +1,7 @@ """ This module implements the Report class. """ + import sys import webbrowser from pathlib import Path diff --git a/dataprep/eda/diff/render.py b/dataprep/eda/diff/render.py index 7a49bd679..201565499 100644 --- a/dataprep/eda/diff/render.py +++ b/dataprep/eda/diff/render.py @@ -1,6 +1,7 @@ """ This module implements the visualization for the plot_diff function. """ # pylint: disable=too-many-lines + from typing import Any, Dict, List, Tuple, Optional import math diff --git a/dataprep/eda/distribution/compute/__init__.py b/dataprep/eda/distribution/compute/__init__.py index e7fc309b8..fd867b50f 100644 --- a/dataprep/eda/distribution/compute/__init__.py +++ b/dataprep/eda/distribution/compute/__init__.py @@ -2,7 +2,6 @@ Computations for plot(df, ...) """ - import warnings from typing import Optional, Union, List, Dict, Any, Tuple import dask.dataframe as dd diff --git a/dataprep/eda/distribution/compute/bivariate.py b/dataprep/eda/distribution/compute/bivariate.py index 7716e3df6..97dd37d39 100644 --- a/dataprep/eda/distribution/compute/bivariate.py +++ b/dataprep/eda/distribution/compute/bivariate.py @@ -1,4 +1,5 @@ """Computations for plot(df, x, y).""" + from typing import Any, Dict, List, Optional, Tuple, Union import dask diff --git a/dataprep/eda/distribution/compute/overview.py b/dataprep/eda/distribution/compute/overview.py index cd41080e8..47dfc0144 100644 --- a/dataprep/eda/distribution/compute/overview.py +++ b/dataprep/eda/distribution/compute/overview.py @@ -229,7 +229,7 @@ def _format_ov_ins(data: Dict[str, Any], cfg: Config) -> List[Dict[str, str]]: ndup = data["nrows"] - data["nrows_wo_dups"] ins.append({"Duplicates": f"Dataset has {ndup} ({pdup}%) duplicate rows"}) - for (*cols, test_result) in data.get("ks_tests", []): + for *cols, test_result in data.get("ks_tests", []): if test_result > cfg.insight.similar_distribution__threshold: msg = f"/*start*/{cols[0]}/*end*/ and /*start*/{cols[1]}/*end*/ have similar distributions" ins.append({"Similar Distribution": msg}) diff --git a/dataprep/eda/distribution/render.py b/dataprep/eda/distribution/render.py index 478b75292..2048aa1ba 100644 --- a/dataprep/eda/distribution/render.py +++ b/dataprep/eda/distribution/render.py @@ -1,6 +1,7 @@ """ This module implements the visualization for the plot(df) function. """ # pylint: disable=too-many-lines + from pathlib import Path from typing import Any, Dict, List, Optional, Tuple, Union import json diff --git a/dataprep/eda/dtypes.py b/dataprep/eda/dtypes.py index 820ddbd05..614c5dc82 100644 --- a/dataprep/eda/dtypes.py +++ b/dataprep/eda/dtypes.py @@ -1,6 +1,7 @@ """ In this module lives the type tree. """ + from collections import defaultdict from typing import Any, DefaultDict, Dict, List, Optional, Tuple, Type, Union diff --git a/dataprep/eda/dtypes_v2.py b/dataprep/eda/dtypes_v2.py index 376a69dde..022b461c1 100644 --- a/dataprep/eda/dtypes_v2.py +++ b/dataprep/eda/dtypes_v2.py @@ -1,6 +1,7 @@ """ In this module lives the type tree. """ + from typing import Any, Dict, Optional, Type, Union import dask.dataframe as dd diff --git a/dataprep/eda/intermediate.py b/dataprep/eda/intermediate.py index 331e4fb0b..64bd4dc0a 100644 --- a/dataprep/eda/intermediate.py +++ b/dataprep/eda/intermediate.py @@ -1,6 +1,7 @@ """ Intermediate class """ + from typing import Any, Dict, Tuple, Union, Optional from pathlib import Path diff --git a/dataprep/eda/missing/compute/__init__.py b/dataprep/eda/missing/compute/__init__.py index 887303ab6..3588046fb 100644 --- a/dataprep/eda/missing/compute/__init__.py +++ b/dataprep/eda/missing/compute/__init__.py @@ -1,6 +1,7 @@ """This module implements the plot_missing(df) function's calculating intermediate part """ + from typing import Optional, cast, List, Any, Dict, Union import warnings from scipy.cluster.hierarchy import ClusterWarning diff --git a/dataprep/eda/missing/compute/common.py b/dataprep/eda/missing/compute/common.py index fb17c96a6..ddbb567f3 100644 --- a/dataprep/eda/missing/compute/common.py +++ b/dataprep/eda/missing/compute/common.py @@ -1,4 +1,5 @@ """Common parts for compute missing.""" + from typing import Optional, Tuple import dask.array as da diff --git a/dataprep/eda/missing/compute/nullivariate.py b/dataprep/eda/missing/compute/nullivariate.py index 316d5ad88..1597a98c8 100644 --- a/dataprep/eda/missing/compute/nullivariate.py +++ b/dataprep/eda/missing/compute/nullivariate.py @@ -1,6 +1,7 @@ """This module implements the plot_missing(df) function's calculating intermediate part """ + from typing import Any, Callable, Dict, Generator, List, Optional, Tuple import dask.array as da diff --git a/dataprep/eda/missing/compute/univariate.py b/dataprep/eda/missing/compute/univariate.py index 9dc7dd527..6d461bb18 100644 --- a/dataprep/eda/missing/compute/univariate.py +++ b/dataprep/eda/missing/compute/univariate.py @@ -1,6 +1,7 @@ """This module implements the plot_missing(df, x) function's calculating intermediate part """ + from typing import Any, Generator, List import numpy as np diff --git a/dataprep/eda/missing/render.py b/dataprep/eda/missing/render.py index 4e6014f8f..2c9bb3093 100644 --- a/dataprep/eda/missing/render.py +++ b/dataprep/eda/missing/render.py @@ -2,6 +2,7 @@ This module implements the plot_missing(df, x, y) function's visualization part. """ + from typing import Any, Dict, List, Optional, Sequence, Tuple import numpy as np diff --git a/dataprep/eda/outlier/computation.py b/dataprep/eda/outlier/computation.py index ebf4ec08b..6960bf814 100644 --- a/dataprep/eda/outlier/computation.py +++ b/dataprep/eda/outlier/computation.py @@ -2,7 +2,6 @@ Module containing plot_outlier function. """ - import dask.dataframe as dd from ..intermediate import Intermediate diff --git a/dataprep/eda/palette.py b/dataprep/eda/palette.py index 96b70108e..ad7ffa59b 100644 --- a/dataprep/eda/palette.py +++ b/dataprep/eda/palette.py @@ -1,6 +1,7 @@ """ This file defines palettes used for EDA. """ + from bokeh.palettes import Category10, Category20, Greys256, Pastel1, viridis BRG = ["#1f78b4", "#d62728", "#2ca02c"] diff --git a/dataprep/eda/utils.py b/dataprep/eda/utils.py index 75dd0364f..f17fe0e03 100644 --- a/dataprep/eda/utils.py +++ b/dataprep/eda/utils.py @@ -1,5 +1,6 @@ """Miscellaneous functions """ + import logging from math import ceil from typing import Any, Dict, List, Optional, Tuple, Union, cast diff --git a/dataprep/lineage/lx.py b/dataprep/lineage/lx.py index 42ab0b3f9..ce315c96a 100644 --- a/dataprep/lineage/lx.py +++ b/dataprep/lineage/lx.py @@ -2,6 +2,7 @@ This module contains the method of lineagex. It is a wrapper on lineagex.lineagex function. """ + from typing import Optional, Union, List try: diff --git a/dataprep/progress_bar.py b/dataprep/progress_bar.py index b6b92ea9f..f98f4e4ca 100644 --- a/dataprep/progress_bar.py +++ b/dataprep/progress_bar.py @@ -1,4 +1,5 @@ """ProgressBar shows the how many dask tasks finished/remains using tqdm.""" + import warnings from time import time from typing import Any, Dict, Optional, Tuple, Union @@ -12,6 +13,7 @@ else: from tqdm import tqdm + # pylint: disable=method-hidden,too-many-instance-attributes class ProgressBar(Callback): # type: ignore """A progress bar for DataPrep.EDA. diff --git a/dataprep/tests/benchmarks/eda.py b/dataprep/tests/benchmarks/eda.py index 791c0d8d3..7e516c93b 100644 --- a/dataprep/tests/benchmarks/eda.py +++ b/dataprep/tests/benchmarks/eda.py @@ -1,6 +1,7 @@ """ This module is for performance testing of EDA module in github action. """ + from functools import partial import pandas as pd from typing import Any diff --git a/dataprep/tests/clean/test_clean_address.py b/dataprep/tests/clean/test_clean_address.py index c1e15f64f..a10c7418b 100644 --- a/dataprep/tests/clean/test_clean_address.py +++ b/dataprep/tests/clean/test_clean_address.py @@ -1,6 +1,7 @@ """ module for testing the functions clean_address() and validate_address() """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_country.py b/dataprep/tests/clean/test_clean_country.py index c2d7bc59b..49f30bb06 100644 --- a/dataprep/tests/clean/test_clean_country.py +++ b/dataprep/tests/clean/test_clean_country.py @@ -1,6 +1,7 @@ """ module for testing the functions clean_country() and validate_country() """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_date.py b/dataprep/tests/clean/test_clean_date.py index 5f9da8c06..5b0144b25 100644 --- a/dataprep/tests/clean/test_clean_date.py +++ b/dataprep/tests/clean/test_clean_date.py @@ -1,6 +1,7 @@ """ module for testing the functions clean_country() and validate_country() """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_duplication.py b/dataprep/tests/clean/test_clean_duplication.py index d0b4bb1e8..2921e4c01 100644 --- a/dataprep/tests/clean/test_clean_duplication.py +++ b/dataprep/tests/clean/test_clean_duplication.py @@ -1,6 +1,7 @@ """ module for testing the clean_duplication() function """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_email.py b/dataprep/tests/clean/test_clean_email.py index 57299ffe6..a3e48984b 100755 --- a/dataprep/tests/clean/test_clean_email.py +++ b/dataprep/tests/clean/test_clean_email.py @@ -1,6 +1,7 @@ """ module for testing the functions clean_email() and validate_email() """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_headers.py b/dataprep/tests/clean/test_clean_headers.py index 2b13ea4b8..995cf496e 100644 --- a/dataprep/tests/clean/test_clean_headers.py +++ b/dataprep/tests/clean/test_clean_headers.py @@ -1,6 +1,7 @@ """ module for testing the function clean_headers() """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_lat_long.py b/dataprep/tests/clean/test_clean_lat_long.py index ddcb27930..1b9bc97ba 100644 --- a/dataprep/tests/clean/test_clean_lat_long.py +++ b/dataprep/tests/clean/test_clean_lat_long.py @@ -1,6 +1,7 @@ """ module for testing the functions clean_lat_long() and validate_lat_long() """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_phone.py b/dataprep/tests/clean/test_clean_phone.py index d96081b24..578799119 100644 --- a/dataprep/tests/clean/test_clean_phone.py +++ b/dataprep/tests/clean/test_clean_phone.py @@ -1,6 +1,7 @@ """ module for testing the functions clean_phone() and validate_phone() """ + import logging import numpy as np diff --git a/dataprep/tests/clean/test_clean_text.py b/dataprep/tests/clean/test_clean_text.py index fcb791b6d..76e8b5cc3 100644 --- a/dataprep/tests/clean/test_clean_text.py +++ b/dataprep/tests/clean/test_clean_text.py @@ -1,6 +1,7 @@ """ module for testing the functions clean_text() and default_text_pipeline() """ + import re import logging from typing import Any, Dict, List diff --git a/dataprep/tests/datasets/test_datasets.py b/dataprep/tests/datasets/test_datasets.py index ca066d6f4..3a0128b8a 100644 --- a/dataprep/tests/datasets/test_datasets.py +++ b/dataprep/tests/datasets/test_datasets.py @@ -1,6 +1,7 @@ """ module for testing the functions inside datasets """ + from ...datasets import get_dataset_names, get_db_names, load_dataset, load_db diff --git a/dataprep/tests/eda/test_config.py b/dataprep/tests/eda/test_config.py index 306ed21b2..3d3c8faf3 100644 --- a/dataprep/tests/eda/test_config.py +++ b/dataprep/tests/eda/test_config.py @@ -1,6 +1,7 @@ """ This module for testing config parameter """ + import dask.dataframe as dd import pandas as pd import numpy as np diff --git a/dataprep/tests/eda/test_create_diff_report.py b/dataprep/tests/eda/test_create_diff_report.py index 64f1b4092..828681f4a 100644 --- a/dataprep/tests/eda/test_create_diff_report.py +++ b/dataprep/tests/eda/test_create_diff_report.py @@ -1,6 +1,7 @@ """ module for testing create_diff_report(df) function. """ + import logging import numpy as np import pandas as pd diff --git a/dataprep/tests/eda/test_create_report.py b/dataprep/tests/eda/test_create_report.py index 97a536906..28260c4ac 100644 --- a/dataprep/tests/eda/test_create_report.py +++ b/dataprep/tests/eda/test_create_report.py @@ -1,6 +1,7 @@ """ module for testing create_report(df) function. """ + import logging import numpy as np import pandas as pd diff --git a/dataprep/tests/eda/test_plot.py b/dataprep/tests/eda/test_plot.py index cad65e10e..37a2e7d11 100644 --- a/dataprep/tests/eda/test_plot.py +++ b/dataprep/tests/eda/test_plot.py @@ -1,6 +1,7 @@ """ module for testing plot(df, x, y) function. """ + import logging import dask.dataframe as dd diff --git a/dataprep/tests/eda/test_plot_correlation.py b/dataprep/tests/eda/test_plot_correlation.py index 4f483bc06..7a4af926c 100644 --- a/dataprep/tests/eda/test_plot_correlation.py +++ b/dataprep/tests/eda/test_plot_correlation.py @@ -1,6 +1,7 @@ """ module for testing plot_corr(df, x, y) function. """ + import random from time import time diff --git a/dataprep/tests/eda/test_plot_diff.py b/dataprep/tests/eda/test_plot_diff.py index 3ad059faa..e7703168f 100644 --- a/dataprep/tests/eda/test_plot_diff.py +++ b/dataprep/tests/eda/test_plot_diff.py @@ -1,6 +1,7 @@ """ module for testing plot_diff([df1, df2, ..., dfn]) function. """ + import logging import dask.dataframe as dd diff --git a/dataprep/tests/eda/test_plot_missing.py b/dataprep/tests/eda/test_plot_missing.py index 532d0e8d5..b7a215ac2 100644 --- a/dataprep/tests/eda/test_plot_missing.py +++ b/dataprep/tests/eda/test_plot_missing.py @@ -1,6 +1,7 @@ """ This module for testing plot_missing(df, x, y) function. """ + import dask.dataframe as dd import numpy as np import pandas as pd diff --git a/dataprep/utils.py b/dataprep/utils.py index e3f89cdef..56ed9fe98 100644 --- a/dataprep/utils.py +++ b/dataprep/utils.py @@ -1,4 +1,5 @@ """Utility functions used by the whole library.""" + from typing import Any import webbrowser from tempfile import NamedTemporaryFile diff --git a/poetry.lock b/poetry.lock index b99994b69..baa3ae55f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -372,36 +372,47 @@ lxml = ["lxml"] [[package]] name = "black" -version = "22.12.0" +version = "24.3.0" description = "The uncompromising code formatter." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "black-22.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9eedd20838bd5d75b80c9f5487dbcb06836a43833a37846cf1d8c1cc01cef59d"}, - {file = "black-22.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:159a46a4947f73387b4d83e87ea006dbb2337eab6c879620a3ba52699b1f4351"}, - {file = "black-22.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d30b212bffeb1e252b31dd269dfae69dd17e06d92b87ad26e23890f3efea366f"}, - {file = "black-22.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:7412e75863aa5c5411886804678b7d083c7c28421210180d67dfd8cf1221e1f4"}, - {file = "black-22.12.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c116eed0efb9ff870ded8b62fe9f28dd61ef6e9ddd28d83d7d264a38417dcee2"}, - {file = "black-22.12.0-cp37-cp37m-win_amd64.whl", hash = "sha256:1f58cbe16dfe8c12b7434e50ff889fa479072096d79f0a7f25e4ab8e94cd8350"}, - {file = "black-22.12.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:77d86c9f3db9b1bf6761244bc0b3572a546f5fe37917a044e02f3166d5aafa7d"}, - {file = "black-22.12.0-cp38-cp38-win_amd64.whl", hash = "sha256:82d9fe8fee3401e02e79767016b4907820a7dc28d70d137eb397b92ef3cc5bfc"}, - {file = "black-22.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:101c69b23df9b44247bd88e1d7e90154336ac4992502d4197bdac35dd7ee3320"}, - {file = "black-22.12.0-cp39-cp39-win_amd64.whl", hash = "sha256:559c7a1ba9a006226f09e4916060982fd27334ae1998e7a38b3f33a37f7a2148"}, - {file = "black-22.12.0-py3-none-any.whl", hash = "sha256:436cc9167dd28040ad90d3b404aec22cedf24a6e4d7de221bec2730ec0c97bcf"}, - {file = "black-22.12.0.tar.gz", hash = "sha256:229351e5a18ca30f447bf724d007f890f97e13af070bb6ad4c0a441cd7596a2f"}, + {file = "black-24.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7d5e026f8da0322b5662fa7a8e752b3fa2dac1c1cbc213c3d7ff9bdd0ab12395"}, + {file = "black-24.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9f50ea1132e2189d8dff0115ab75b65590a3e97de1e143795adb4ce317934995"}, + {file = "black-24.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e2af80566f43c85f5797365077fb64a393861a3730bd110971ab7a0c94e873e7"}, + {file = "black-24.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:4be5bb28e090456adfc1255e03967fb67ca846a03be7aadf6249096100ee32d0"}, + {file = "black-24.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4f1373a7808a8f135b774039f61d59e4be7eb56b2513d3d2f02a8b9365b8a8a9"}, + {file = "black-24.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:aadf7a02d947936ee418777e0247ea114f78aff0d0959461057cae8a04f20597"}, + {file = "black-24.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65c02e4ea2ae09d16314d30912a58ada9a5c4fdfedf9512d23326128ac08ac3d"}, + {file = "black-24.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:bf21b7b230718a5f08bd32d5e4f1db7fc8788345c8aea1d155fc17852b3410f5"}, + {file = "black-24.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:2818cf72dfd5d289e48f37ccfa08b460bf469e67fb7c4abb07edc2e9f16fb63f"}, + {file = "black-24.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4acf672def7eb1725f41f38bf6bf425c8237248bb0804faa3965c036f7672d11"}, + {file = "black-24.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c7ed6668cbbfcd231fa0dc1b137d3e40c04c7f786e626b405c62bcd5db5857e4"}, + {file = "black-24.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:56f52cfbd3dabe2798d76dbdd299faa046a901041faf2cf33288bc4e6dae57b5"}, + {file = "black-24.3.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:79dcf34b33e38ed1b17434693763301d7ccbd1c5860674a8f871bd15139e7837"}, + {file = "black-24.3.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:e19cb1c6365fd6dc38a6eae2dcb691d7d83935c10215aef8e6c38edee3f77abd"}, + {file = "black-24.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65b76c275e4c1c5ce6e9870911384bff5ca31ab63d19c76811cb1fb162678213"}, + {file = "black-24.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:b5991d523eee14756f3c8d5df5231550ae8993e2286b8014e2fdea7156ed0959"}, + {file = "black-24.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c45f8dff244b3c431b36e3224b6be4a127c6aca780853574c00faf99258041eb"}, + {file = "black-24.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:6905238a754ceb7788a73f02b45637d820b2f5478b20fec82ea865e4f5d4d9f7"}, + {file = "black-24.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d7de8d330763c66663661a1ffd432274a2f92f07feeddd89ffd085b5744f85e7"}, + {file = "black-24.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:7bb041dca0d784697af4646d3b62ba4a6b028276ae878e53f6b4f74ddd6db99f"}, + {file = "black-24.3.0-py3-none-any.whl", hash = "sha256:41622020d7120e01d377f74249e677039d20e6344ff5851de8a10f11f513bf93"}, + {file = "black-24.3.0.tar.gz", hash = "sha256:a0c9c4a0771afc6919578cec71ce82a3e31e054904e7197deacbc9382671c41f"}, ] [package.dependencies] click = ">=8.0.0" mypy-extensions = ">=0.4.3" +packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" -tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""} -typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] -d = ["aiohttp (>=3.7.4)"] +d = ["aiohttp (>=3.7.4)", "aiohttp (>=3.7.4,!=3.9.0)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] @@ -670,13 +681,13 @@ files = [ [[package]] name = "comm" -version = "0.2.1" +version = "0.2.2" description = "Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc." optional = false python-versions = ">=3.8" files = [ - {file = "comm-0.2.1-py3-none-any.whl", hash = "sha256:87928485c0dfc0e7976fd89fc1e187023cf587e7c353e4a9b417555b44adf021"}, - {file = "comm-0.2.1.tar.gz", hash = "sha256:0bc91edae1344d39d3661dcbc36937181fdaddb304790458f8b044dbc064b89a"}, + {file = "comm-0.2.2-py3-none-any.whl", hash = "sha256:e6fb86cb70ff661ee8c9c14e7d36d6de3b4066f1441be4063df9c5009f0a64d3"}, + {file = "comm-0.2.2.tar.gz", hash = "sha256:3fd7a84065306e07bea1773df6eb8282de51ba82f77c72f9c85716ab11fe980e"}, ] [package.dependencies] @@ -747,7 +758,10 @@ files = [ ] [package.dependencies] -numpy = {version = ">=1.16,<2.0", markers = "python_version <= \"3.11\""} +numpy = [ + {version = ">=1.16,<2.0", markers = "python_version <= \"3.11\""}, + {version = ">=1.26.0rc1,<2.0", markers = "python_version >= \"3.12\""}, +] [package.extras] bokeh = ["bokeh", "selenium"] @@ -758,63 +772,63 @@ test-no-images = ["pytest", "pytest-cov", "wurlitzer"] [[package]] name = "coverage" -version = "7.4.3" +version = "7.4.4" description = "Code coverage measurement for Python" optional = false python-versions = ">=3.8" files = [ - {file = "coverage-7.4.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8580b827d4746d47294c0e0b92854c85a92c2227927433998f0d3320ae8a71b6"}, - {file = "coverage-7.4.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:718187eeb9849fc6cc23e0d9b092bc2348821c5e1a901c9f8975df0bc785bfd4"}, - {file = "coverage-7.4.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:767b35c3a246bcb55b8044fd3a43b8cd553dd1f9f2c1eeb87a302b1f8daa0524"}, - {file = "coverage-7.4.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ae7f19afe0cce50039e2c782bff379c7e347cba335429678450b8fe81c4ef96d"}, - {file = "coverage-7.4.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba3a8aaed13770e970b3df46980cb068d1c24af1a1968b7818b69af8c4347efb"}, - {file = "coverage-7.4.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:ee866acc0861caebb4f2ab79f0b94dbfbdbfadc19f82e6e9c93930f74e11d7a0"}, - {file = "coverage-7.4.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:506edb1dd49e13a2d4cac6a5173317b82a23c9d6e8df63efb4f0380de0fbccbc"}, - {file = "coverage-7.4.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd6545d97c98a192c5ac995d21c894b581f1fd14cf389be90724d21808b657e2"}, - {file = "coverage-7.4.3-cp310-cp310-win32.whl", hash = "sha256:f6a09b360d67e589236a44f0c39218a8efba2593b6abdccc300a8862cffc2f94"}, - {file = "coverage-7.4.3-cp310-cp310-win_amd64.whl", hash = "sha256:18d90523ce7553dd0b7e23cbb28865db23cddfd683a38fb224115f7826de78d0"}, - {file = "coverage-7.4.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cbbe5e739d45a52f3200a771c6d2c7acf89eb2524890a4a3aa1a7fa0695d2a47"}, - {file = "coverage-7.4.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:489763b2d037b164846ebac0cbd368b8a4ca56385c4090807ff9fad817de4113"}, - {file = "coverage-7.4.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:451f433ad901b3bb00184d83fd83d135fb682d780b38af7944c9faeecb1e0bfe"}, - {file = "coverage-7.4.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fcc66e222cf4c719fe7722a403888b1f5e1682d1679bd780e2b26c18bb648cdc"}, - {file = "coverage-7.4.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b3ec74cfef2d985e145baae90d9b1b32f85e1741b04cd967aaf9cfa84c1334f3"}, - {file = "coverage-7.4.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:abbbd8093c5229c72d4c2926afaee0e6e3140de69d5dcd918b2921f2f0c8baba"}, - {file = "coverage-7.4.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:35eb581efdacf7b7422af677b92170da4ef34500467381e805944a3201df2079"}, - {file = "coverage-7.4.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8249b1c7334be8f8c3abcaaa996e1e4927b0e5a23b65f5bf6cfe3180d8ca7840"}, - {file = "coverage-7.4.3-cp311-cp311-win32.whl", hash = "sha256:cf30900aa1ba595312ae41978b95e256e419d8a823af79ce670835409fc02ad3"}, - {file = "coverage-7.4.3-cp311-cp311-win_amd64.whl", hash = "sha256:18c7320695c949de11a351742ee001849912fd57e62a706d83dfc1581897fa2e"}, - {file = "coverage-7.4.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b51bfc348925e92a9bd9b2e48dad13431b57011fd1038f08316e6bf1df107d10"}, - {file = "coverage-7.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d6cdecaedea1ea9e033d8adf6a0ab11107b49571bbb9737175444cea6eb72328"}, - {file = "coverage-7.4.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3b2eccb883368f9e972e216c7b4c7c06cabda925b5f06dde0650281cb7666a30"}, - {file = "coverage-7.4.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6c00cdc8fa4e50e1cc1f941a7f2e3e0f26cb2a1233c9696f26963ff58445bac7"}, - {file = "coverage-7.4.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b9a4a8dd3dcf4cbd3165737358e4d7dfbd9d59902ad11e3b15eebb6393b0446e"}, - {file = "coverage-7.4.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:062b0a75d9261e2f9c6d071753f7eef0fc9caf3a2c82d36d76667ba7b6470003"}, - {file = "coverage-7.4.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:ebe7c9e67a2d15fa97b77ea6571ce5e1e1f6b0db71d1d5e96f8d2bf134303c1d"}, - {file = "coverage-7.4.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c0a120238dd71c68484f02562f6d446d736adcc6ca0993712289b102705a9a3a"}, - {file = "coverage-7.4.3-cp312-cp312-win32.whl", hash = "sha256:37389611ba54fd6d278fde86eb2c013c8e50232e38f5c68235d09d0a3f8aa352"}, - {file = "coverage-7.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:d25b937a5d9ffa857d41be042b4238dd61db888533b53bc76dc082cb5a15e914"}, - {file = "coverage-7.4.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:28ca2098939eabab044ad68850aac8f8db6bf0b29bc7f2887d05889b17346454"}, - {file = "coverage-7.4.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:280459f0a03cecbe8800786cdc23067a8fc64c0bd51dc614008d9c36e1659d7e"}, - {file = "coverage-7.4.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6c0cdedd3500e0511eac1517bf560149764b7d8e65cb800d8bf1c63ebf39edd2"}, - {file = "coverage-7.4.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9a9babb9466fe1da12417a4aed923e90124a534736de6201794a3aea9d98484e"}, - {file = "coverage-7.4.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dec9de46a33cf2dd87a5254af095a409ea3bf952d85ad339751e7de6d962cde6"}, - {file = "coverage-7.4.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:16bae383a9cc5abab9bb05c10a3e5a52e0a788325dc9ba8499e821885928968c"}, - {file = "coverage-7.4.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:2c854ce44e1ee31bda4e318af1dbcfc929026d12c5ed030095ad98197eeeaed0"}, - {file = "coverage-7.4.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ce8c50520f57ec57aa21a63ea4f325c7b657386b3f02ccaedeccf9ebe27686e1"}, - {file = "coverage-7.4.3-cp38-cp38-win32.whl", hash = "sha256:708a3369dcf055c00ddeeaa2b20f0dd1ce664eeabde6623e516c5228b753654f"}, - {file = "coverage-7.4.3-cp38-cp38-win_amd64.whl", hash = "sha256:1bf25fbca0c8d121a3e92a2a0555c7e5bc981aee5c3fdaf4bb7809f410f696b9"}, - {file = "coverage-7.4.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3b253094dbe1b431d3a4ac2f053b6d7ede2664ac559705a704f621742e034f1f"}, - {file = "coverage-7.4.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:77fbfc5720cceac9c200054b9fab50cb2a7d79660609200ab83f5db96162d20c"}, - {file = "coverage-7.4.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6679060424faa9c11808598504c3ab472de4531c571ab2befa32f4971835788e"}, - {file = "coverage-7.4.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4af154d617c875b52651dd8dd17a31270c495082f3d55f6128e7629658d63765"}, - {file = "coverage-7.4.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8640f1fde5e1b8e3439fe482cdc2b0bb6c329f4bb161927c28d2e8879c6029ee"}, - {file = "coverage-7.4.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:69b9f6f66c0af29642e73a520b6fed25ff9fd69a25975ebe6acb297234eda501"}, - {file = "coverage-7.4.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:0842571634f39016a6c03e9d4aba502be652a6e4455fadb73cd3a3a49173e38f"}, - {file = "coverage-7.4.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a78ed23b08e8ab524551f52953a8a05d61c3a760781762aac49f8de6eede8c45"}, - {file = "coverage-7.4.3-cp39-cp39-win32.whl", hash = "sha256:c0524de3ff096e15fcbfe8f056fdb4ea0bf497d584454f344d59fce069d3e6e9"}, - {file = "coverage-7.4.3-cp39-cp39-win_amd64.whl", hash = "sha256:0209a6369ccce576b43bb227dc8322d8ef9e323d089c6f3f26a597b09cb4d2aa"}, - {file = "coverage-7.4.3-pp38.pp39.pp310-none-any.whl", hash = "sha256:7cbde573904625509a3f37b6fecea974e363460b556a627c60dc2f47e2fffa51"}, - {file = "coverage-7.4.3.tar.gz", hash = "sha256:276f6077a5c61447a48d133ed13e759c09e62aff0dc84274a68dc18660104d52"}, + {file = "coverage-7.4.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e0be5efd5127542ef31f165de269f77560d6cdef525fffa446de6f7e9186cfb2"}, + {file = "coverage-7.4.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ccd341521be3d1b3daeb41960ae94a5e87abe2f46f17224ba5d6f2b8398016cf"}, + {file = "coverage-7.4.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:09fa497a8ab37784fbb20ab699c246053ac294d13fc7eb40ec007a5043ec91f8"}, + {file = "coverage-7.4.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b1a93009cb80730c9bca5d6d4665494b725b6e8e157c1cb7f2db5b4b122ea562"}, + {file = "coverage-7.4.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:690db6517f09336559dc0b5f55342df62370a48f5469fabf502db2c6d1cffcd2"}, + {file = "coverage-7.4.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7"}, + {file = "coverage-7.4.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8ce1415194b4a6bd0cdcc3a1dfbf58b63f910dcb7330fe15bdff542c56949f87"}, + {file = "coverage-7.4.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b91cbc4b195444e7e258ba27ac33769c41b94967919f10037e6355e998af255c"}, + {file = "coverage-7.4.4-cp310-cp310-win32.whl", hash = "sha256:598825b51b81c808cb6f078dcb972f96af96b078faa47af7dfcdf282835baa8d"}, + {file = "coverage-7.4.4-cp310-cp310-win_amd64.whl", hash = "sha256:09ef9199ed6653989ebbcaacc9b62b514bb63ea2f90256e71fea3ed74bd8ff6f"}, + {file = "coverage-7.4.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0f9f50e7ef2a71e2fae92774c99170eb8304e3fdf9c8c3c7ae9bab3e7229c5cf"}, + {file = "coverage-7.4.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:623512f8ba53c422fcfb2ce68362c97945095b864cda94a92edbaf5994201083"}, + {file = "coverage-7.4.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63"}, + {file = "coverage-7.4.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40209e141059b9370a2657c9b15607815359ab3ef9918f0196b6fccce8d3230f"}, + {file = "coverage-7.4.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8a2b2b78c78293782fd3767d53e6474582f62443d0504b1554370bde86cc8227"}, + {file = "coverage-7.4.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:73bfb9c09951125d06ee473bed216e2c3742f530fc5acc1383883125de76d9cd"}, + {file = "coverage-7.4.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:1f384c3cc76aeedce208643697fb3e8437604b512255de6d18dae3f27655a384"}, + {file = "coverage-7.4.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:54eb8d1bf7cacfbf2a3186019bcf01d11c666bd495ed18717162f7eb1e9dd00b"}, + {file = "coverage-7.4.4-cp311-cp311-win32.whl", hash = "sha256:cac99918c7bba15302a2d81f0312c08054a3359eaa1929c7e4b26ebe41e9b286"}, + {file = "coverage-7.4.4-cp311-cp311-win_amd64.whl", hash = "sha256:b14706df8b2de49869ae03a5ccbc211f4041750cd4a66f698df89d44f4bd30ec"}, + {file = "coverage-7.4.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:201bef2eea65e0e9c56343115ba3814e896afe6d36ffd37bab783261db430f76"}, + {file = "coverage-7.4.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:41c9c5f3de16b903b610d09650e5e27adbfa7f500302718c9ffd1c12cf9d6818"}, + {file = "coverage-7.4.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d898fe162d26929b5960e4e138651f7427048e72c853607f2b200909794ed978"}, + {file = "coverage-7.4.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3ea79bb50e805cd6ac058dfa3b5c8f6c040cb87fe83de10845857f5535d1db70"}, + {file = "coverage-7.4.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce4b94265ca988c3f8e479e741693d143026632672e3ff924f25fab50518dd51"}, + {file = "coverage-7.4.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c"}, + {file = "coverage-7.4.4-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:fdfafb32984684eb03c2d83e1e51f64f0906b11e64482df3c5db936ce3839d48"}, + {file = "coverage-7.4.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:69eb372f7e2ece89f14751fbcbe470295d73ed41ecd37ca36ed2eb47512a6ab9"}, + {file = "coverage-7.4.4-cp312-cp312-win32.whl", hash = "sha256:137eb07173141545e07403cca94ab625cc1cc6bc4c1e97b6e3846270e7e1fea0"}, + {file = "coverage-7.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:d71eec7d83298f1af3326ce0ff1d0ea83c7cb98f72b577097f9083b20bdaf05e"}, + {file = "coverage-7.4.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d5ae728ff3b5401cc320d792866987e7e7e880e6ebd24433b70a33b643bb0384"}, + {file = "coverage-7.4.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:cc4f1358cb0c78edef3ed237ef2c86056206bb8d9140e73b6b89fbcfcbdd40e1"}, + {file = "coverage-7.4.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8130a2aa2acb8788e0b56938786c33c7c98562697bf9f4c7d6e8e5e3a0501e4a"}, + {file = "coverage-7.4.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cf271892d13e43bc2b51e6908ec9a6a5094a4df1d8af0bfc360088ee6c684409"}, + {file = "coverage-7.4.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a4cdc86d54b5da0df6d3d3a2f0b710949286094c3a6700c21e9015932b81447e"}, + {file = "coverage-7.4.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:ae71e7ddb7a413dd60052e90528f2f65270aad4b509563af6d03d53e979feafd"}, + {file = "coverage-7.4.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:38dd60d7bf242c4ed5b38e094baf6401faa114fc09e9e6632374388a404f98e7"}, + {file = "coverage-7.4.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:aa5b1c1bfc28384f1f53b69a023d789f72b2e0ab1b3787aae16992a7ca21056c"}, + {file = "coverage-7.4.4-cp38-cp38-win32.whl", hash = "sha256:dfa8fe35a0bb90382837b238fff375de15f0dcdb9ae68ff85f7a63649c98527e"}, + {file = "coverage-7.4.4-cp38-cp38-win_amd64.whl", hash = "sha256:b2991665420a803495e0b90a79233c1433d6ed77ef282e8e152a324bbbc5e0c8"}, + {file = "coverage-7.4.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3b799445b9f7ee8bf299cfaed6f5b226c0037b74886a4e11515e569b36fe310d"}, + {file = "coverage-7.4.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b4d33f418f46362995f1e9d4f3a35a1b6322cb959c31d88ae56b0298e1c22357"}, + {file = "coverage-7.4.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aadacf9a2f407a4688d700e4ebab33a7e2e408f2ca04dbf4aef17585389eff3e"}, + {file = "coverage-7.4.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7c95949560050d04d46b919301826525597f07b33beba6187d04fa64d47ac82e"}, + {file = "coverage-7.4.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff7687ca3d7028d8a5f0ebae95a6e4827c5616b31a4ee1192bdfde697db110d4"}, + {file = "coverage-7.4.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5fc1de20b2d4a061b3df27ab9b7c7111e9a710f10dc2b84d33a4ab25065994ec"}, + {file = "coverage-7.4.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:c74880fc64d4958159fbd537a091d2a585448a8f8508bf248d72112723974cbd"}, + {file = "coverage-7.4.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:742a76a12aa45b44d236815d282b03cfb1de3b4323f3e4ec933acfae08e54ade"}, + {file = "coverage-7.4.4-cp39-cp39-win32.whl", hash = "sha256:d89d7b2974cae412400e88f35d86af72208e1ede1a541954af5d944a8ba46c57"}, + {file = "coverage-7.4.4-cp39-cp39-win_amd64.whl", hash = "sha256:9ca28a302acb19b6af89e90f33ee3e1906961f94b54ea37de6737b7ca9d8827c"}, + {file = "coverage-7.4.4-pp38.pp39.pp310-none-any.whl", hash = "sha256:b2c5edc4ac10a7ef6605a966c58929ec6c1bd0917fb8c15cb3363f65aa40e677"}, + {file = "coverage-7.4.4.tar.gz", hash = "sha256:c901df83d097649e257e803be22592aedfd5182f07b3cc87d640bbb9afd50f49"}, ] [package.dependencies] @@ -1036,53 +1050,53 @@ Six = "*" [[package]] name = "fonttools" -version = "4.49.0" +version = "4.50.0" description = "Tools to manipulate font files" optional = false python-versions = ">=3.8" files = [ - {file = "fonttools-4.49.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d970ecca0aac90d399e458f0b7a8a597e08f95de021f17785fb68e2dc0b99717"}, - {file = "fonttools-4.49.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ac9a745b7609f489faa65e1dc842168c18530874a5f5b742ac3dd79e26bca8bc"}, - {file = "fonttools-4.49.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ba0e00620ca28d4ca11fc700806fd69144b463aa3275e1b36e56c7c09915559"}, - {file = "fonttools-4.49.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdee3ab220283057e7840d5fb768ad4c2ebe65bdba6f75d5d7bf47f4e0ed7d29"}, - {file = "fonttools-4.49.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:ce7033cb61f2bb65d8849658d3786188afd80f53dad8366a7232654804529532"}, - {file = "fonttools-4.49.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:07bc5ea02bb7bc3aa40a1eb0481ce20e8d9b9642a9536cde0218290dd6085828"}, - {file = "fonttools-4.49.0-cp310-cp310-win32.whl", hash = "sha256:86eef6aab7fd7c6c8545f3ebd00fd1d6729ca1f63b0cb4d621bccb7d1d1c852b"}, - {file = "fonttools-4.49.0-cp310-cp310-win_amd64.whl", hash = "sha256:1fac1b7eebfce75ea663e860e7c5b4a8831b858c17acd68263bc156125201abf"}, - {file = "fonttools-4.49.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:edc0cce355984bb3c1d1e89d6a661934d39586bb32191ebff98c600f8957c63e"}, - {file = "fonttools-4.49.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:83a0d9336de2cba86d886507dd6e0153df333ac787377325a39a2797ec529814"}, - {file = "fonttools-4.49.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:36c8865bdb5cfeec88f5028e7e592370a0657b676c6f1d84a2108e0564f90e22"}, - {file = "fonttools-4.49.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33037d9e56e2562c710c8954d0f20d25b8386b397250d65581e544edc9d6b942"}, - {file = "fonttools-4.49.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:8fb022d799b96df3eaa27263e9eea306bd3d437cc9aa981820850281a02b6c9a"}, - {file = "fonttools-4.49.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:33c584c0ef7dc54f5dd4f84082eabd8d09d1871a3d8ca2986b0c0c98165f8e86"}, - {file = "fonttools-4.49.0-cp311-cp311-win32.whl", hash = "sha256:cbe61b158deb09cffdd8540dc4a948d6e8f4d5b4f3bf5cd7db09bd6a61fee64e"}, - {file = "fonttools-4.49.0-cp311-cp311-win_amd64.whl", hash = "sha256:fc11e5114f3f978d0cea7e9853627935b30d451742eeb4239a81a677bdee6bf6"}, - {file = "fonttools-4.49.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:d647a0e697e5daa98c87993726da8281c7233d9d4ffe410812a4896c7c57c075"}, - {file = "fonttools-4.49.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:f3bbe672df03563d1f3a691ae531f2e31f84061724c319652039e5a70927167e"}, - {file = "fonttools-4.49.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bebd91041dda0d511b0d303180ed36e31f4f54b106b1259b69fade68413aa7ff"}, - {file = "fonttools-4.49.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4145f91531fd43c50f9eb893faa08399816bb0b13c425667c48475c9f3a2b9b5"}, - {file = "fonttools-4.49.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ea329dafb9670ffbdf4dbc3b0e5c264104abcd8441d56de77f06967f032943cb"}, - {file = "fonttools-4.49.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c076a9e548521ecc13d944b1d261ff3d7825048c338722a4bd126d22316087b7"}, - {file = "fonttools-4.49.0-cp312-cp312-win32.whl", hash = "sha256:b607ea1e96768d13be26d2b400d10d3ebd1456343eb5eaddd2f47d1c4bd00880"}, - {file = "fonttools-4.49.0-cp312-cp312-win_amd64.whl", hash = "sha256:a974c49a981e187381b9cc2c07c6b902d0079b88ff01aed34695ec5360767034"}, - {file = "fonttools-4.49.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:b85ec0bdd7bdaa5c1946398cbb541e90a6dfc51df76dfa88e0aaa41b335940cb"}, - {file = "fonttools-4.49.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:af20acbe198a8a790618ee42db192eb128afcdcc4e96d99993aca0b60d1faeb4"}, - {file = "fonttools-4.49.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4d418b1fee41a1d14931f7ab4b92dc0bc323b490e41d7a333eec82c9f1780c75"}, - {file = "fonttools-4.49.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b44a52b8e6244b6548851b03b2b377a9702b88ddc21dcaf56a15a0393d425cb9"}, - {file = "fonttools-4.49.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:7c7125068e04a70739dad11857a4d47626f2b0bd54de39e8622e89701836eabd"}, - {file = "fonttools-4.49.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:29e89d0e1a7f18bc30f197cfadcbef5a13d99806447c7e245f5667579a808036"}, - {file = "fonttools-4.49.0-cp38-cp38-win32.whl", hash = "sha256:9d95fa0d22bf4f12d2fb7b07a46070cdfc19ef5a7b1c98bc172bfab5bf0d6844"}, - {file = "fonttools-4.49.0-cp38-cp38-win_amd64.whl", hash = "sha256:768947008b4dc552d02772e5ebd49e71430a466e2373008ce905f953afea755a"}, - {file = "fonttools-4.49.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:08877e355d3dde1c11973bb58d4acad1981e6d1140711230a4bfb40b2b937ccc"}, - {file = "fonttools-4.49.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:fdb54b076f25d6b0f0298dc706acee5052de20c83530fa165b60d1f2e9cbe3cb"}, - {file = "fonttools-4.49.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0af65c720520710cc01c293f9c70bd69684365c6015cc3671db2b7d807fe51f2"}, - {file = "fonttools-4.49.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f255ce8ed7556658f6d23f6afd22a6d9bbc3edb9b96c96682124dc487e1bf42"}, - {file = "fonttools-4.49.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d00af0884c0e65f60dfaf9340e26658836b935052fdd0439952ae42e44fdd2be"}, - {file = "fonttools-4.49.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:263832fae27481d48dfafcc43174644b6706639661e242902ceb30553557e16c"}, - {file = "fonttools-4.49.0-cp39-cp39-win32.whl", hash = "sha256:0404faea044577a01bb82d47a8fa4bc7a54067fa7e324785dd65d200d6dd1133"}, - {file = "fonttools-4.49.0-cp39-cp39-win_amd64.whl", hash = "sha256:b050d362df50fc6e38ae3954d8c29bf2da52be384649ee8245fdb5186b620836"}, - {file = "fonttools-4.49.0-py3-none-any.whl", hash = "sha256:af281525e5dd7fa0b39fb1667b8d5ca0e2a9079967e14c4bfe90fd1cd13e0f18"}, - {file = "fonttools-4.49.0.tar.gz", hash = "sha256:ebf46e7f01b7af7861310417d7c49591a85d99146fc23a5ba82fdb28af156321"}, + {file = "fonttools-4.50.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:effd303fb422f8ce06543a36ca69148471144c534cc25f30e5be752bc4f46736"}, + {file = "fonttools-4.50.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7913992ab836f621d06aabac118fc258b9947a775a607e1a737eb3a91c360335"}, + {file = "fonttools-4.50.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e0a1c5bd2f63da4043b63888534b52c5a1fd7ae187c8ffc64cbb7ae475b9dab"}, + {file = "fonttools-4.50.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d40fc98540fa5360e7ecf2c56ddf3c6e7dd04929543618fd7b5cc76e66390562"}, + {file = "fonttools-4.50.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:9fff65fbb7afe137bac3113827855e0204482727bddd00a806034ab0d3951d0d"}, + {file = "fonttools-4.50.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b1aeae3dd2ee719074a9372c89ad94f7c581903306d76befdaca2a559f802472"}, + {file = "fonttools-4.50.0-cp310-cp310-win32.whl", hash = "sha256:e9623afa319405da33b43c85cceb0585a6f5d3a1d7c604daf4f7e1dd55c03d1f"}, + {file = "fonttools-4.50.0-cp310-cp310-win_amd64.whl", hash = "sha256:778c5f43e7e654ef7fe0605e80894930bc3a7772e2f496238e57218610140f54"}, + {file = "fonttools-4.50.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:3dfb102e7f63b78c832e4539969167ffcc0375b013080e6472350965a5fe8048"}, + {file = "fonttools-4.50.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9e58fe34cb379ba3d01d5d319d67dd3ce7ca9a47ad044ea2b22635cd2d1247fc"}, + {file = "fonttools-4.50.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2c673ab40d15a442a4e6eb09bf007c1dda47c84ac1e2eecbdf359adacb799c24"}, + {file = "fonttools-4.50.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9b3ac35cdcd1a4c90c23a5200212c1bb74fa05833cc7c14291d7043a52ca2aaa"}, + {file = "fonttools-4.50.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:8844e7a2c5f7ecf977e82eb6b3014f025c8b454e046d941ece05b768be5847ae"}, + {file = "fonttools-4.50.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f849bd3c5c2249b49c98eca5aaebb920d2bfd92b3c69e84ca9bddf133e9f83f0"}, + {file = "fonttools-4.50.0-cp311-cp311-win32.whl", hash = "sha256:39293ff231b36b035575e81c14626dfc14407a20de5262f9596c2cbb199c3625"}, + {file = "fonttools-4.50.0-cp311-cp311-win_amd64.whl", hash = "sha256:c33d5023523b44d3481624f840c8646656a1def7630ca562f222eb3ead16c438"}, + {file = "fonttools-4.50.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:b4a886a6dbe60100ba1cd24de962f8cd18139bd32808da80de1fa9f9f27bf1dc"}, + {file = "fonttools-4.50.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b2ca1837bfbe5eafa11313dbc7edada79052709a1fffa10cea691210af4aa1fa"}, + {file = "fonttools-4.50.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0493dd97ac8977e48ffc1476b932b37c847cbb87fd68673dee5182004906828"}, + {file = "fonttools-4.50.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:77844e2f1b0889120b6c222fc49b2b75c3d88b930615e98893b899b9352a27ea"}, + {file = "fonttools-4.50.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:3566bfb8c55ed9100afe1ba6f0f12265cd63a1387b9661eb6031a1578a28bad1"}, + {file = "fonttools-4.50.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:35e10ddbc129cf61775d58a14f2d44121178d89874d32cae1eac722e687d9019"}, + {file = "fonttools-4.50.0-cp312-cp312-win32.whl", hash = "sha256:cc8140baf9fa8f9b903f2b393a6c413a220fa990264b215bf48484f3d0bf8710"}, + {file = "fonttools-4.50.0-cp312-cp312-win_amd64.whl", hash = "sha256:0ccc85fd96373ab73c59833b824d7a73846670a0cb1f3afbaee2b2c426a8f931"}, + {file = "fonttools-4.50.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e270a406219af37581d96c810172001ec536e29e5593aa40d4c01cca3e145aa6"}, + {file = "fonttools-4.50.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ac2463de667233372e9e1c7e9de3d914b708437ef52a3199fdbf5a60184f190c"}, + {file = "fonttools-4.50.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:47abd6669195abe87c22750dbcd366dc3a0648f1b7c93c2baa97429c4dc1506e"}, + {file = "fonttools-4.50.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:074841375e2e3d559aecc86e1224caf78e8b8417bb391e7d2506412538f21adc"}, + {file = "fonttools-4.50.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:0743fd2191ad7ab43d78cd747215b12033ddee24fa1e088605a3efe80d6984de"}, + {file = "fonttools-4.50.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:3d7080cce7be5ed65bee3496f09f79a82865a514863197ff4d4d177389e981b0"}, + {file = "fonttools-4.50.0-cp38-cp38-win32.whl", hash = "sha256:a467ba4e2eadc1d5cc1a11d355abb945f680473fbe30d15617e104c81f483045"}, + {file = "fonttools-4.50.0-cp38-cp38-win_amd64.whl", hash = "sha256:f77e048f805e00870659d6318fd89ef28ca4ee16a22b4c5e1905b735495fc422"}, + {file = "fonttools-4.50.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:b6245eafd553c4e9a0708e93be51392bd2288c773523892fbd616d33fd2fda59"}, + {file = "fonttools-4.50.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a4062cc7e8de26f1603323ef3ae2171c9d29c8a9f5e067d555a2813cd5c7a7e0"}, + {file = "fonttools-4.50.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34692850dfd64ba06af61e5791a441f664cb7d21e7b544e8f385718430e8f8e4"}, + {file = "fonttools-4.50.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:678dd95f26a67e02c50dcb5bf250f95231d455642afbc65a3b0bcdacd4e4dd38"}, + {file = "fonttools-4.50.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:4f2ce7b0b295fe64ac0a85aef46a0f2614995774bd7bc643b85679c0283287f9"}, + {file = "fonttools-4.50.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:d346f4dc2221bfb7ab652d1e37d327578434ce559baf7113b0f55768437fe6a0"}, + {file = "fonttools-4.50.0-cp39-cp39-win32.whl", hash = "sha256:a51eeaf52ba3afd70bf489be20e52fdfafe6c03d652b02477c6ce23c995222f4"}, + {file = "fonttools-4.50.0-cp39-cp39-win_amd64.whl", hash = "sha256:8639be40d583e5d9da67795aa3eeeda0488fb577a1d42ae11a5036f18fb16d93"}, + {file = "fonttools-4.50.0-py3-none-any.whl", hash = "sha256:48fa36da06247aa8282766cfd63efff1bb24e55f020f29a335939ed3844d20d3"}, + {file = "fonttools-4.50.0.tar.gz", hash = "sha256:fa5cf61058c7dbb104c2ac4e782bf1b2016a8cf2f69de6e4dd6a865d2c969bb5"}, ] [package.extras] @@ -1198,13 +1212,13 @@ files = [ [[package]] name = "fsspec" -version = "2024.2.0" +version = "2024.3.0" description = "File-system specification" optional = false python-versions = ">=3.8" files = [ - {file = "fsspec-2024.2.0-py3-none-any.whl", hash = "sha256:817f969556fa5916bc682e02ca2045f96ff7f586d45110fcb76022063ad2c7d8"}, - {file = "fsspec-2024.2.0.tar.gz", hash = "sha256:b6ad1a679f760dda52b1168c859d01b7b80648ea6f7f7c7f5a8a91dc3f3ecb84"}, + {file = "fsspec-2024.3.0-py3-none-any.whl", hash = "sha256:779001bd0122c9c4975cf03827d5e86c3afb914a3ae27040f15d341ab506a693"}, + {file = "fsspec-2024.3.0.tar.gz", hash = "sha256:f13a130c0ed07e15c4e1aeb0472a823e9c426b0b5792a1f40d902b0a71972d43"}, ] [package.extras] @@ -1413,32 +1427,32 @@ files = [ [[package]] name = "importlib-metadata" -version = "7.0.1" +version = "7.0.2" description = "Read metadata from Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "importlib_metadata-7.0.1-py3-none-any.whl", hash = "sha256:4805911c3a4ec7c3966410053e9ec6a1fecd629117df5adee56dfc9432a1081e"}, - {file = "importlib_metadata-7.0.1.tar.gz", hash = "sha256:f238736bb06590ae52ac1fab06a3a9ef1d8dce2b7a35b5ab329371d6c8f5d2cc"}, + {file = "importlib_metadata-7.0.2-py3-none-any.whl", hash = "sha256:f4bc4c0c070c490abf4ce96d715f68e95923320370efb66143df00199bb6c100"}, + {file = "importlib_metadata-7.0.2.tar.gz", hash = "sha256:198f568f3230878cb1b44fbd7975f87906c22336dba2e4a7f05278c281fbd792"}, ] [package.dependencies] zipp = ">=0.5" [package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] perf = ["ipython"] -testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] +testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy", "pytest-perf (>=0.9.2)", "pytest-ruff (>=0.2.1)"] [[package]] name = "importlib-resources" -version = "6.1.2" +version = "6.3.0" description = "Read resources from Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "importlib_resources-6.1.2-py3-none-any.whl", hash = "sha256:9a0a862501dc38b68adebc82970140c9e4209fc99601782925178f8386339938"}, - {file = "importlib_resources-6.1.2.tar.gz", hash = "sha256:308abf8474e2dba5f867d279237cd4076482c3de7104a40b41426370e891549b"}, + {file = "importlib_resources-6.3.0-py3-none-any.whl", hash = "sha256:783407aa1cd05550e3aa123e8f7cfaebee35ffa9cb0242919e2d1e4172222705"}, + {file = "importlib_resources-6.3.0.tar.gz", hash = "sha256:166072a97e86917a9025876f34286f549b9caf1d10b35a1b372bffa1600c6569"}, ] [package.dependencies] @@ -1446,7 +1460,7 @@ zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} [package.extras] docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy", "pytest-ruff (>=0.2.1)", "zipp (>=3.17)"] +testing = ["jaraco.collections", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy", "pytest-ruff (>=0.2.1)", "zipp (>=3.17)"] [[package]] name = "iniconfig" @@ -1649,13 +1663,13 @@ files = [ [[package]] name = "json5" -version = "0.9.17" +version = "0.9.22" description = "A Python implementation of the JSON5 data format." optional = false python-versions = ">=3.8" files = [ - {file = "json5-0.9.17-py2.py3-none-any.whl", hash = "sha256:f8ec1ecf985951d70f780f6f877c4baca6a47b6e61e02c4cd190138d10a7805a"}, - {file = "json5-0.9.17.tar.gz", hash = "sha256:717d99d657fa71b7094877b1d921b1cce40ab444389f6d770302563bb7dfd9ae"}, + {file = "json5-0.9.22-py3-none-any.whl", hash = "sha256:6621007c70897652f8b5d03885f732771c48d1925591ad989aa80c7e0e5ad32f"}, + {file = "json5-0.9.22.tar.gz", hash = "sha256:b729bde7650b2196a35903a597d2b704b8fdf8648bfb67368cfb79f1174a17bd"}, ] [package.extras] @@ -1734,13 +1748,13 @@ referencing = ">=0.31.0" [[package]] name = "jupyter-client" -version = "8.6.0" +version = "8.6.1" description = "Jupyter protocol implementation and client libraries" optional = false python-versions = ">=3.8" files = [ - {file = "jupyter_client-8.6.0-py3-none-any.whl", hash = "sha256:909c474dbe62582ae62b758bca86d6518c85234bdee2d908c778db6d72f39d99"}, - {file = "jupyter_client-8.6.0.tar.gz", hash = "sha256:0642244bb83b4764ae60d07e010e15f0e2d275ec4e918a8f7b80fbbef3ca60c7"}, + {file = "jupyter_client-8.6.1-py3-none-any.whl", hash = "sha256:3b7bd22f058434e3b9a7ea4b1500ed47de2713872288c0d511d19926f99b459f"}, + {file = "jupyter_client-8.6.1.tar.gz", hash = "sha256:e842515e2bab8e19186d89fdfea7abd15e39dd581f94e399f00e2af5a1652d3f"}, ] [package.dependencies] @@ -1757,13 +1771,13 @@ test = ["coverage", "ipykernel (>=6.14)", "mypy", "paramiko", "pre-commit", "pyt [[package]] name = "jupyter-core" -version = "5.7.1" +version = "5.7.2" description = "Jupyter core package. A base package on which Jupyter projects rely." optional = false python-versions = ">=3.8" files = [ - {file = "jupyter_core-5.7.1-py3-none-any.whl", hash = "sha256:c65c82126453a723a2804aa52409930434598fd9d35091d63dfb919d2b765bb7"}, - {file = "jupyter_core-5.7.1.tar.gz", hash = "sha256:de61a9d7fc71240f688b2fb5ab659fbb56979458dc66a71decd098e03c79e218"}, + {file = "jupyter_core-5.7.2-py3-none-any.whl", hash = "sha256:4f7315d2f6b4bcf2e3e7cb6e46772eba760ae459cd1f59d29eb57b0a01bd7409"}, + {file = "jupyter_core-5.7.2.tar.gz", hash = "sha256:aa5f8d32bbf6b431ac830496da7392035d6f61b4f54872f15c4bd2a9c3f536d9"}, ] [package.dependencies] @@ -1773,17 +1787,17 @@ traitlets = ">=5.3" [package.extras] docs = ["myst-parser", "pydata-sphinx-theme", "sphinx-autodoc-typehints", "sphinxcontrib-github-alt", "sphinxcontrib-spelling", "traitlets"] -test = ["ipykernel", "pre-commit", "pytest", "pytest-cov", "pytest-timeout"] +test = ["ipykernel", "pre-commit", "pytest (<8)", "pytest-cov", "pytest-timeout"] [[package]] name = "jupyter-events" -version = "0.9.0" +version = "0.9.1" description = "Jupyter Event System library" optional = false python-versions = ">=3.8" files = [ - {file = "jupyter_events-0.9.0-py3-none-any.whl", hash = "sha256:d853b3c10273ff9bc8bb8b30076d65e2c9685579db736873de6c2232dde148bf"}, - {file = "jupyter_events-0.9.0.tar.gz", hash = "sha256:81ad2e4bc710881ec274d31c6c50669d71bbaa5dd9d01e600b56faa85700d399"}, + {file = "jupyter_events-0.9.1-py3-none-any.whl", hash = "sha256:e51f43d2c25c2ddf02d7f7a5045f71fc1d5cb5ad04ef6db20da961c077654b9b"}, + {file = "jupyter_events-0.9.1.tar.gz", hash = "sha256:a52e86f59eb317ee71ff2d7500c94b963b8a24f0b7a1517e2e653e24258e15c7"}, ] [package.dependencies] @@ -1802,13 +1816,13 @@ test = ["click", "pre-commit", "pytest (>=7.0)", "pytest-asyncio (>=0.19.0)", "p [[package]] name = "jupyter-lsp" -version = "2.2.3" +version = "2.2.4" description = "Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server" optional = false python-versions = ">=3.8" files = [ - {file = "jupyter-lsp-2.2.3.tar.gz", hash = "sha256:33dbcbc5df24237ff5c8b696b04ff4689fcd316cb8d4957d620fe5504d7d2c3f"}, - {file = "jupyter_lsp-2.2.3-py3-none-any.whl", hash = "sha256:57dd90d0a2e2530831793550846168c81c952b49e187aa339e455027a5f0fd2e"}, + {file = "jupyter-lsp-2.2.4.tar.gz", hash = "sha256:5e50033149344065348e688608f3c6d654ef06d9856b67655bd7b6bac9ee2d59"}, + {file = "jupyter_lsp-2.2.4-py3-none-any.whl", hash = "sha256:da61cb63a16b6dff5eac55c2699cc36eac975645adee02c41bdfc03bf4802e77"}, ] [package.dependencies] @@ -1817,13 +1831,13 @@ jupyter-server = ">=1.1.2" [[package]] name = "jupyter-server" -version = "2.12.5" +version = "2.13.0" description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications." optional = false python-versions = ">=3.8" files = [ - {file = "jupyter_server-2.12.5-py3-none-any.whl", hash = "sha256:184a0f82809a8522777cfb6b760ab6f4b1bb398664c5860a27cec696cb884923"}, - {file = "jupyter_server-2.12.5.tar.gz", hash = "sha256:0edb626c94baa22809be1323f9770cf1c00a952b17097592e40d03e6a3951689"}, + {file = "jupyter_server-2.13.0-py3-none-any.whl", hash = "sha256:77b2b49c3831fbbfbdb5048cef4350d12946191f833a24e5f83e5f8f4803e97b"}, + {file = "jupyter_server-2.13.0.tar.gz", hash = "sha256:c80bfb049ea20053c3d9641c2add4848b38073bf79f1729cea1faed32fc1c78e"}, ] [package.dependencies] @@ -1849,17 +1863,17 @@ websocket-client = "*" [package.extras] docs = ["ipykernel", "jinja2", "jupyter-client", "jupyter-server", "myst-parser", "nbformat", "prometheus-client", "pydata-sphinx-theme", "send2trash", "sphinx-autodoc-typehints", "sphinxcontrib-github-alt", "sphinxcontrib-openapi (>=0.8.0)", "sphinxcontrib-spelling", "sphinxemoji", "tornado", "typing-extensions"] -test = ["flaky", "ipykernel", "pre-commit", "pytest (>=7.0)", "pytest-console-scripts", "pytest-jupyter[server] (>=0.4)", "pytest-timeout", "requests"] +test = ["flaky", "ipykernel", "pre-commit", "pytest (>=7.0)", "pytest-console-scripts", "pytest-jupyter[server] (>=0.7)", "pytest-timeout", "requests"] [[package]] name = "jupyter-server-terminals" -version = "0.5.2" +version = "0.5.3" description = "A Jupyter Server Extension Providing Terminals." optional = false python-versions = ">=3.8" files = [ - {file = "jupyter_server_terminals-0.5.2-py3-none-any.whl", hash = "sha256:1b80c12765da979513c42c90215481bbc39bd8ae7c0350b4f85bc3eb58d0fa80"}, - {file = "jupyter_server_terminals-0.5.2.tar.gz", hash = "sha256:396b5ccc0881e550bf0ee7012c6ef1b53edbde69e67cab1d56e89711b46052e8"}, + {file = "jupyter_server_terminals-0.5.3-py3-none-any.whl", hash = "sha256:41ee0d7dc0ebf2809c668e0fc726dfaf258fcd3e769568996ca731b6194ae9aa"}, + {file = "jupyter_server_terminals-0.5.3.tar.gz", hash = "sha256:5ae0295167220e9ace0edcfdb212afd2b01ee8d179fe6f23c899590e9b8a5269"}, ] [package.dependencies] @@ -1872,13 +1886,13 @@ test = ["jupyter-server (>=2.0.0)", "pytest (>=7.0)", "pytest-jupyter[server] (> [[package]] name = "jupyterlab" -version = "4.1.2" +version = "4.1.5" description = "JupyterLab computational environment" optional = false python-versions = ">=3.8" files = [ - {file = "jupyterlab-4.1.2-py3-none-any.whl", hash = "sha256:aa88193f03cf4d3555f6712f04d74112b5eb85edd7d222c588c7603a26d33c5b"}, - {file = "jupyterlab-4.1.2.tar.gz", hash = "sha256:5d6348b3ed4085181499f621b7dfb6eb0b1f57f3586857aadfc8e3bf4c4885f9"}, + {file = "jupyterlab-4.1.5-py3-none-any.whl", hash = "sha256:3bc843382a25e1ab7bc31d9e39295a9f0463626692b7995597709c0ab236ab2c"}, + {file = "jupyterlab-4.1.5.tar.gz", hash = "sha256:c9ad75290cb10bfaff3624bf3fbb852319b4cce4c456613f8ebbaa98d03524db"}, ] [package.dependencies] @@ -1917,13 +1931,13 @@ files = [ [[package]] name = "jupyterlab-server" -version = "2.25.3" +version = "2.25.4" description = "A set of server components for JupyterLab and JupyterLab like applications." optional = false python-versions = ">=3.8" files = [ - {file = "jupyterlab_server-2.25.3-py3-none-any.whl", hash = "sha256:c48862519fded9b418c71645d85a49b2f0ec50d032ba8316738e9276046088c1"}, - {file = "jupyterlab_server-2.25.3.tar.gz", hash = "sha256:846f125a8a19656611df5b03e5912c8393cea6900859baa64fa515eb64a8dc40"}, + {file = "jupyterlab_server-2.25.4-py3-none-any.whl", hash = "sha256:eb645ecc8f9b24bac5decc7803b6d5363250e16ec5af814e516bc2c54dd88081"}, + {file = "jupyterlab_server-2.25.4.tar.gz", hash = "sha256:2098198e1e82e0db982440f9b5136175d73bea2cd42a6480aa6fd502cb23c4f9"}, ] [package.dependencies] @@ -1939,7 +1953,7 @@ requests = ">=2.31" [package.extras] docs = ["autodoc-traits", "jinja2 (<3.2.0)", "mistune (<4)", "myst-parser", "pydata-sphinx-theme", "sphinx", "sphinx-copybutton", "sphinxcontrib-openapi (>0.8)"] openapi = ["openapi-core (>=0.18.0,<0.19.0)", "ruamel-yaml"] -test = ["hatch", "ipykernel", "openapi-core (>=0.18.0,<0.19.0)", "openapi-spec-validator (>=0.6.0,<0.8.0)", "pytest (>=7.0)", "pytest-console-scripts", "pytest-cov", "pytest-jupyter[server] (>=0.6.2)", "pytest-timeout", "requests-mock", "ruamel-yaml", "sphinxcontrib-spelling", "strict-rfc3339", "werkzeug"] +test = ["hatch", "ipykernel", "openapi-core (>=0.18.0,<0.19.0)", "openapi-spec-validator (>=0.6.0,<0.8.0)", "pytest (>=7.0,<8)", "pytest-console-scripts", "pytest-cov", "pytest-jupyter[server] (>=0.6.2)", "pytest-timeout", "requests-mock", "ruamel-yaml", "sphinxcontrib-spelling", "strict-rfc3339", "werkzeug"] [[package]] name = "jupyterlab-widgets" @@ -2432,13 +2446,13 @@ files = [ [[package]] name = "nbclient" -version = "0.9.0" +version = "0.10.0" description = "A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor." optional = false python-versions = ">=3.8.0" files = [ - {file = "nbclient-0.9.0-py3-none-any.whl", hash = "sha256:a3a1ddfb34d4a9d17fc744d655962714a866639acd30130e9be84191cd97cd15"}, - {file = "nbclient-0.9.0.tar.gz", hash = "sha256:4b28c207877cf33ef3a9838cdc7a54c5ceff981194a82eac59d558f05487295e"}, + {file = "nbclient-0.10.0-py3-none-any.whl", hash = "sha256:f13e3529332a1f1f81d82a53210322476a168bb7090a0289c795fe9cc11c9d3f"}, + {file = "nbclient-0.10.0.tar.gz", hash = "sha256:4b3f1b7dba531e498449c4db4f53da339c91d449dc11e9af3a43b4eb5c5abb09"}, ] [package.dependencies] @@ -2450,17 +2464,17 @@ traitlets = ">=5.4" [package.extras] dev = ["pre-commit"] docs = ["autodoc-traits", "mock", "moto", "myst-parser", "nbclient[test]", "sphinx (>=1.7)", "sphinx-book-theme", "sphinxcontrib-spelling"] -test = ["flaky", "ipykernel (>=6.19.3)", "ipython", "ipywidgets", "nbconvert (>=7.0.0)", "pytest (>=7.0)", "pytest-asyncio", "pytest-cov (>=4.0)", "testpath", "xmltodict"] +test = ["flaky", "ipykernel (>=6.19.3)", "ipython", "ipywidgets", "nbconvert (>=7.0.0)", "pytest (>=7.0,<8)", "pytest-asyncio", "pytest-cov (>=4.0)", "testpath", "xmltodict"] [[package]] name = "nbconvert" -version = "7.16.1" +version = "7.16.2" description = "Converting Jupyter Notebooks (.ipynb files) to other formats. Output formats include asciidoc, html, latex, markdown, pdf, py, rst, script. nbconvert can be used both as a Python library (`import nbconvert`) or as a command line tool (invoked as `jupyter nbconvert ...`)." optional = false python-versions = ">=3.8" files = [ - {file = "nbconvert-7.16.1-py3-none-any.whl", hash = "sha256:3188727dffadfdc9c6a1c7250729063d7bc78b355ad7aa023138afa030d1cd07"}, - {file = "nbconvert-7.16.1.tar.gz", hash = "sha256:e79e6a074f49ba3ed29428ed86487bf51509d9aab613bd8522ac08f6d28fd7fd"}, + {file = "nbconvert-7.16.2-py3-none-any.whl", hash = "sha256:0c01c23981a8de0220255706822c40b751438e32467d6a686e26be08ba784382"}, + {file = "nbconvert-7.16.2.tar.gz", hash = "sha256:8310edd41e1c43947e4ecf16614c61469ebc024898eb808cce0999860fc9fb16"}, ] [package.dependencies] @@ -2492,13 +2506,13 @@ webpdf = ["playwright"] [[package]] name = "nbformat" -version = "5.9.2" +version = "5.10.3" description = "The Jupyter Notebook format" optional = false python-versions = ">=3.8" files = [ - {file = "nbformat-5.9.2-py3-none-any.whl", hash = "sha256:1c5172d786a41b82bcfd0c23f9e6b6f072e8fb49c39250219e4acfff1efe89e9"}, - {file = "nbformat-5.9.2.tar.gz", hash = "sha256:5f98b5ba1997dff175e77e0c17d5c10a96eaed2cbd1de3533d1fc35d5e111192"}, + {file = "nbformat-5.10.3-py3-none-any.whl", hash = "sha256:d9476ca28676799af85385f409b49d95e199951477a159a576ef2a675151e5e8"}, + {file = "nbformat-5.10.3.tar.gz", hash = "sha256:60ed5e910ef7c6264b87d644f276b1b49e24011930deef54605188ddeb211685"}, ] [package.dependencies] @@ -2582,13 +2596,13 @@ setuptools = "*" [[package]] name = "notebook" -version = "7.1.1" +version = "7.1.2" description = "Jupyter Notebook - A web-based notebook environment for interactive computing" optional = false python-versions = ">=3.8" files = [ - {file = "notebook-7.1.1-py3-none-any.whl", hash = "sha256:197d8e0595acabf4005851c8716e952a81b405f7aefb648067a761fbde267ce7"}, - {file = "notebook-7.1.1.tar.gz", hash = "sha256:818e7420fa21f402e726afb9f02df7f3c10f294c02e383ed19852866c316108b"}, + {file = "notebook-7.1.2-py3-none-any.whl", hash = "sha256:fc6c24b9aef18d0cd57157c9c47e95833b9b0bdc599652639acf0bdb61dc7d5f"}, + {file = "notebook-7.1.2.tar.gz", hash = "sha256:efc2c80043909e0faa17fce9e9b37c059c03af0ec99a4d4db84cb21d9d2e936a"}, ] [package.dependencies] @@ -2657,6 +2671,51 @@ files = [ {file = "numpy-1.24.4.tar.gz", hash = "sha256:80f5e3a4e498641401868df4208b74581206afbee7cf7b8329daae82676d9463"}, ] +[[package]] +name = "numpy" +version = "1.26.4" +description = "Fundamental package for array computing in Python" +optional = false +python-versions = ">=3.9" +files = [ + {file = "numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9ff0f4f29c51e2803569d7a51c2304de5554655a60c5d776e35b4a41413830d0"}, + {file = "numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e4ee3380d6de9c9ec04745830fd9e2eccb3e6cf790d39d7b98ffd19b0dd754a"}, + {file = "numpy-1.26.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d209d8969599b27ad20994c8e41936ee0964e6da07478d6c35016bc386b66ad4"}, + {file = "numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ffa75af20b44f8dba823498024771d5ac50620e6915abac414251bd971b4529f"}, + {file = "numpy-1.26.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:62b8e4b1e28009ef2846b4c7852046736bab361f7aeadeb6a5b89ebec3c7055a"}, + {file = "numpy-1.26.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a4abb4f9001ad2858e7ac189089c42178fcce737e4169dc61321660f1a96c7d2"}, + {file = "numpy-1.26.4-cp310-cp310-win32.whl", hash = "sha256:bfe25acf8b437eb2a8b2d49d443800a5f18508cd811fea3181723922a8a82b07"}, + {file = "numpy-1.26.4-cp310-cp310-win_amd64.whl", hash = "sha256:b97fe8060236edf3662adfc2c633f56a08ae30560c56310562cb4f95500022d5"}, + {file = "numpy-1.26.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c66707fabe114439db9068ee468c26bbdf909cac0fb58686a42a24de1760c71"}, + {file = "numpy-1.26.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:edd8b5fe47dab091176d21bb6de568acdd906d1887a4584a15a9a96a1dca06ef"}, + {file = "numpy-1.26.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ab55401287bfec946ced39700c053796e7cc0e3acbef09993a9ad2adba6ca6e"}, + {file = "numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:666dbfb6ec68962c033a450943ded891bed2d54e6755e35e5835d63f4f6931d5"}, + {file = "numpy-1.26.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:96ff0b2ad353d8f990b63294c8986f1ec3cb19d749234014f4e7eb0112ceba5a"}, + {file = "numpy-1.26.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:60dedbb91afcbfdc9bc0b1f3f402804070deed7392c23eb7a7f07fa857868e8a"}, + {file = "numpy-1.26.4-cp311-cp311-win32.whl", hash = "sha256:1af303d6b2210eb850fcf03064d364652b7120803a0b872f5211f5234b399f20"}, + {file = "numpy-1.26.4-cp311-cp311-win_amd64.whl", hash = "sha256:cd25bcecc4974d09257ffcd1f098ee778f7834c3ad767fe5db785be9a4aa9cb2"}, + {file = "numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b3ce300f3644fb06443ee2222c2201dd3a89ea6040541412b8fa189341847218"}, + {file = "numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:03a8c78d01d9781b28a6989f6fa1bb2c4f2d51201cf99d3dd875df6fbd96b23b"}, + {file = "numpy-1.26.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9fad7dcb1aac3c7f0584a5a8133e3a43eeb2fe127f47e3632d43d677c66c102b"}, + {file = "numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675d61ffbfa78604709862923189bad94014bef562cc35cf61d3a07bba02a7ed"}, + {file = "numpy-1.26.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab47dbe5cc8210f55aa58e4805fe224dac469cde56b9f731a4c098b91917159a"}, + {file = "numpy-1.26.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1dda2e7b4ec9dd512f84935c5f126c8bd8b9f2fc001e9f54af255e8c5f16b0e0"}, + {file = "numpy-1.26.4-cp312-cp312-win32.whl", hash = "sha256:50193e430acfc1346175fcbdaa28ffec49947a06918b7b92130744e81e640110"}, + {file = "numpy-1.26.4-cp312-cp312-win_amd64.whl", hash = "sha256:08beddf13648eb95f8d867350f6a018a4be2e5ad54c8d8caed89ebca558b2818"}, + {file = "numpy-1.26.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7349ab0fa0c429c82442a27a9673fc802ffdb7c7775fad780226cb234965e53c"}, + {file = "numpy-1.26.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:52b8b60467cd7dd1e9ed082188b4e6bb35aa5cdd01777621a1658910745b90be"}, + {file = "numpy-1.26.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5241e0a80d808d70546c697135da2c613f30e28251ff8307eb72ba696945764"}, + {file = "numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f870204a840a60da0b12273ef34f7051e98c3b5961b61b0c2c1be6dfd64fbcd3"}, + {file = "numpy-1.26.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:679b0076f67ecc0138fd2ede3a8fd196dddc2ad3254069bcb9faf9a79b1cebcd"}, + {file = "numpy-1.26.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:47711010ad8555514b434df65f7d7b076bb8261df1ca9bb78f53d3b2db02e95c"}, + {file = "numpy-1.26.4-cp39-cp39-win32.whl", hash = "sha256:a354325ee03388678242a4d7ebcd08b5c727033fcff3b2f536aea978e15ee9e6"}, + {file = "numpy-1.26.4-cp39-cp39-win_amd64.whl", hash = "sha256:3373d5d70a5fe74a2c1bb6d2cfd9609ecf686d47a2d7b1d37a8f3b6bf6003aea"}, + {file = "numpy-1.26.4-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:afedb719a9dcfc7eaf2287b839d8198e06dcd4cb5d276a3df279231138e83d30"}, + {file = "numpy-1.26.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95a7476c59002f2f6c590b9b7b998306fba6a5aa646b1e22ddfeaf8f78c3a29c"}, + {file = "numpy-1.26.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7e50d0a0cc3189f9cb0aeb3a6a6af18c16f59f004b866cd2be1c14b36134a4a0"}, + {file = "numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"}, +] + [[package]] name = "overrides" version = "7.7.0" @@ -2670,13 +2729,13 @@ files = [ [[package]] name = "packaging" -version = "23.2" +version = "24.0" description = "Core utilities for Python packages" optional = false python-versions = ">=3.7" files = [ - {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"}, - {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, + {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, + {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, ] [[package]] @@ -3159,13 +3218,13 @@ testutils = ["gitpython (>3)"] [[package]] name = "pyparsing" -version = "3.1.1" +version = "3.1.2" description = "pyparsing module - Classes and methods to define and execute parsing grammars" optional = false python-versions = ">=3.6.8" files = [ - {file = "pyparsing-3.1.1-py3-none-any.whl", hash = "sha256:32c7c0b711493c72ff18a981d24f28aaf9c1fb7ed5e9667c9e84e3db623bdbfb"}, - {file = "pyparsing-3.1.1.tar.gz", hash = "sha256:ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db"}, + {file = "pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742"}, + {file = "pyparsing-3.1.2.tar.gz", hash = "sha256:a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad"}, ] [package.extras] @@ -3292,13 +3351,13 @@ files = [ [[package]] name = "python-dateutil" -version = "2.8.2" +version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, ] [package.dependencies] @@ -3983,6 +4042,48 @@ dev = ["click", "doit (>=0.36.0)", "flake8", "mypy", "pycodestyle", "pydevtool", doc = ["matplotlib (>2)", "numpydoc", "pydata-sphinx-theme (==0.9.0)", "sphinx (!=4.1.0)", "sphinx-design (>=0.2.0)"] test = ["asv", "gmpy2", "mpmath", "pooch", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "scikit-umfpack", "threadpoolctl"] +[[package]] +name = "scipy" +version = "1.12.0" +description = "Fundamental algorithms for scientific computing in Python" +optional = false +python-versions = ">=3.9" +files = [ + {file = "scipy-1.12.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:78e4402e140879387187f7f25d91cc592b3501a2e51dfb320f48dfb73565f10b"}, + {file = "scipy-1.12.0-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:f5f00ebaf8de24d14b8449981a2842d404152774c1a1d880c901bf454cb8e2a1"}, + {file = "scipy-1.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e53958531a7c695ff66c2e7bb7b79560ffdc562e2051644c5576c39ff8efb563"}, + {file = "scipy-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5e32847e08da8d895ce09d108a494d9eb78974cf6de23063f93306a3e419960c"}, + {file = "scipy-1.12.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4c1020cad92772bf44b8e4cdabc1df5d87376cb219742549ef69fc9fd86282dd"}, + {file = "scipy-1.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:75ea2a144096b5e39402e2ff53a36fecfd3b960d786b7efd3c180e29c39e53f2"}, + {file = "scipy-1.12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:408c68423f9de16cb9e602528be4ce0d6312b05001f3de61fe9ec8b1263cad08"}, + {file = "scipy-1.12.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:5adfad5dbf0163397beb4aca679187d24aec085343755fcdbdeb32b3679f254c"}, + {file = "scipy-1.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c3003652496f6e7c387b1cf63f4bb720951cfa18907e998ea551e6de51a04467"}, + {file = "scipy-1.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8b8066bce124ee5531d12a74b617d9ac0ea59245246410e19bca549656d9a40a"}, + {file = "scipy-1.12.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8bee4993817e204d761dba10dbab0774ba5a8612e57e81319ea04d84945375ba"}, + {file = "scipy-1.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:a24024d45ce9a675c1fb8494e8e5244efea1c7a09c60beb1eeb80373d0fecc70"}, + {file = "scipy-1.12.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e7e76cc48638228212c747ada851ef355c2bb5e7f939e10952bc504c11f4e372"}, + {file = "scipy-1.12.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:f7ce148dffcd64ade37b2df9315541f9adad6efcaa86866ee7dd5db0c8f041c3"}, + {file = "scipy-1.12.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c39f92041f490422924dfdb782527a4abddf4707616e07b021de33467f917bc"}, + {file = "scipy-1.12.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a7ebda398f86e56178c2fa94cad15bf457a218a54a35c2a7b4490b9f9cb2676c"}, + {file = "scipy-1.12.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:95e5c750d55cf518c398a8240571b0e0782c2d5a703250872f36eaf737751338"}, + {file = "scipy-1.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:e646d8571804a304e1da01040d21577685ce8e2db08ac58e543eaca063453e1c"}, + {file = "scipy-1.12.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:913d6e7956c3a671de3b05ccb66b11bc293f56bfdef040583a7221d9e22a2e35"}, + {file = "scipy-1.12.0-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:bba1b0c7256ad75401c73e4b3cf09d1f176e9bd4248f0d3112170fb2ec4db067"}, + {file = "scipy-1.12.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:730badef9b827b368f351eacae2e82da414e13cf8bd5051b4bdfd720271a5371"}, + {file = "scipy-1.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6546dc2c11a9df6926afcbdd8a3edec28566e4e785b915e849348c6dd9f3f490"}, + {file = "scipy-1.12.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:196ebad3a4882081f62a5bf4aeb7326aa34b110e533aab23e4374fcccb0890dc"}, + {file = "scipy-1.12.0-cp39-cp39-win_amd64.whl", hash = "sha256:b360f1b6b2f742781299514e99ff560d1fe9bd1bff2712894b52abe528d1fd1e"}, + {file = "scipy-1.12.0.tar.gz", hash = "sha256:4bf5abab8a36d20193c698b0f1fc282c1d083c94723902c447e5d2f1780936a3"}, +] + +[package.dependencies] +numpy = ">=1.22.4,<1.29.0" + +[package.extras] +dev = ["click", "cython-lint (>=0.12.2)", "doit (>=0.36.0)", "mypy", "pycodestyle", "pydevtool", "rich-click", "ruff", "types-psutil", "typing_extensions"] +doc = ["jupytext", "matplotlib (>2)", "myst-nb", "numpydoc", "pooch", "pydata-sphinx-theme (==0.9.0)", "sphinx (!=4.1.0)", "sphinx-design (>=0.2.0)"] +test = ["asv", "gmpy2", "hypothesis", "mpmath", "pooch", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "scikit-umfpack", "threadpoolctl"] + [[package]] name = "seaborn" version = "0.11.2" @@ -4018,18 +4119,18 @@ win32 = ["pywin32"] [[package]] name = "setuptools" -version = "69.1.1" +version = "69.2.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "setuptools-69.1.1-py3-none-any.whl", hash = "sha256:02fa291a0471b3a18b2b2481ed902af520c69e8ae0919c13da936542754b4c56"}, - {file = "setuptools-69.1.1.tar.gz", hash = "sha256:5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8"}, + {file = "setuptools-69.2.0-py3-none-any.whl", hash = "sha256:c21c49fb1042386df081cb5d86759792ab89efca84cf114889191cd09aacc80c"}, + {file = "setuptools-69.2.0.tar.gz", hash = "sha256:0ff4183f8f42cd8fa3acea16c45205521a4ef28f73c6391d8a25e92893134f2e"}, ] [package.extras] docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mypy (==1.9)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] [[package]] @@ -4337,13 +4438,13 @@ sqlcipher = ["sqlcipher3_binary"] [[package]] name = "terminado" -version = "0.18.0" +version = "0.18.1" description = "Tornado websocket backend for the Xterm.js Javascript terminal emulator library." optional = false python-versions = ">=3.8" files = [ - {file = "terminado-0.18.0-py3-none-any.whl", hash = "sha256:87b0d96642d0fe5f5abd7783857b9cab167f221a39ff98e3b9619a788a3c0f2e"}, - {file = "terminado-0.18.0.tar.gz", hash = "sha256:1ea08a89b835dd1b8c0c900d92848147cef2537243361b2e3f4dc15df9b6fded"}, + {file = "terminado-0.18.1-py3-none-any.whl", hash = "sha256:a4468e1b37bb318f8a86514f65814e1afc977cf29b3992a4500d9dd305dcceb0"}, + {file = "terminado-0.18.1.tar.gz", hash = "sha256:de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e"}, ] [package.dependencies] @@ -4460,28 +4561,28 @@ telegram = ["requests"] [[package]] name = "traitlets" -version = "5.14.1" +version = "5.14.2" description = "Traitlets Python configuration system" optional = false python-versions = ">=3.8" files = [ - {file = "traitlets-5.14.1-py3-none-any.whl", hash = "sha256:2e5a030e6eff91737c643231bfcf04a65b0132078dad75e4936700b213652e74"}, - {file = "traitlets-5.14.1.tar.gz", hash = "sha256:8585105b371a04b8316a43d5ce29c098575c2e477850b62b848b964f1444527e"}, + {file = "traitlets-5.14.2-py3-none-any.whl", hash = "sha256:fcdf85684a772ddeba87db2f398ce00b40ff550d1528c03c14dbf6a02003cd80"}, + {file = "traitlets-5.14.2.tar.gz", hash = "sha256:8cdd83c040dab7d1dee822678e5f5d100b514f7b72b01615b26fc5718916fdf9"}, ] [package.extras] docs = ["myst-parser", "pydata-sphinx-theme", "sphinx"] -test = ["argcomplete (>=3.0.3)", "mypy (>=1.7.0)", "pre-commit", "pytest (>=7.0,<7.5)", "pytest-mock", "pytest-mypy-testing"] +test = ["argcomplete (>=3.0.3)", "mypy (>=1.7.0)", "pre-commit", "pytest (>=7.0,<8.1)", "pytest-mock", "pytest-mypy-testing"] [[package]] name = "types-python-dateutil" -version = "2.8.19.20240106" +version = "2.9.0.20240315" description = "Typing stubs for python-dateutil" optional = false python-versions = ">=3.8" files = [ - {file = "types-python-dateutil-2.8.19.20240106.tar.gz", hash = "sha256:1f8db221c3b98e6ca02ea83a58371b22c374f42ae5bbdf186db9c9a76581459f"}, - {file = "types_python_dateutil-2.8.19.20240106-py3-none-any.whl", hash = "sha256:efbbdc54590d0f16152fa103c9879c7d4a00e82078f6e2cf01769042165acaa2"}, + {file = "types-python-dateutil-2.9.0.20240315.tar.gz", hash = "sha256:c1f6310088eb9585da1b9f811765b989ed2e2cdd4203c1a367e944b666507e4e"}, + {file = "types_python_dateutil-2.9.0.20240315-py3-none-any.whl", hash = "sha256:78aa9124f360df90bb6e85eb1a4d06e75425445bf5ecb13774cb0adef7ff3956"}, ] [[package]] @@ -4888,20 +4989,20 @@ multidict = ">=4.0" [[package]] name = "zipp" -version = "3.17.0" +version = "3.18.1" description = "Backport of pathlib-compatible object wrapper for zip files" optional = false python-versions = ">=3.8" files = [ - {file = "zipp-3.17.0-py3-none-any.whl", hash = "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31"}, - {file = "zipp-3.17.0.tar.gz", hash = "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"}, + {file = "zipp-3.18.1-py3-none-any.whl", hash = "sha256:206f5a15f2af3dbaee80769fb7dc6f249695e940acca08dfb2a4769fe61e538b"}, + {file = "zipp-3.18.1.tar.gz", hash = "sha256:2884ed22e7d8961de1c9a05142eb69a247f120291bc0206a00a7642f09b5b715"}, ] [package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] +testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"] [metadata] lock-version = "2.0" -python-versions = ">=3.8,<3.12" -content-hash = "7e9abda7d414adee291b277d4949552c03ef9c991442581257af831d3ac96680" +python-versions = ">=3.8,<3.13" +content-hash = "32c7eb6d1a692eedcd1cb23dcf0ecef7353a46d12beccdf0ec87e642d2516361" diff --git a/pyproject.toml b/pyproject.toml index 093f079a6..95a81cb1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,16 +38,22 @@ classifiers = [ generate-setup-file = false [tool.poetry.dependencies] -python = ">=3.8,<3.12" +python = ">=3.8,<3.13" # Dependencies for EDA bokeh = "^2" dask = {version = ">=2022.3.0", extras = ["array", "dataframe", "delayed"]} nltk = "^3.6.7" -numpy = "^1.21" +numpy = [ + {version = ">=1.21", python = "<3.12"}, + {version = ">=1.26", python = ">=3.12"} +] pandas = "^1.1" pydot = "^1.4.2" -scipy = "^1.8" +scipy = [ + {version = "^1.8", python = "<3.12"}, + {version = ">1.8", python = ">=3.12"} +] wordcloud = "^1.8" sqlalchemy = "2.0.25" @@ -70,7 +76,7 @@ python-crfsuite = "0.9.10" rapidfuzz = "^2.1.2" [tool.poetry.dev-dependencies] -black = "^22.3.0" +black = "^24.2.0" codecov = "^2" docopt = "^0.6" gitpython = "^3" @@ -89,6 +95,7 @@ sphinx-autobuild = "^2021" sphinx-autodoc-typehints = "^1" toml = "^0.10" + [tool.black] exclude = ''' ( @@ -103,7 +110,7 @@ exclude = ''' ) ''' line-length = 100 -target-version = ['py38','py39','py310','py311'] +target-version = ['py38','py39','py310','py311','py312'] [build-system] build-backend = "poetry.masonry.api"