Skip to content
Snippets Groups Projects
Select Git revision
  • c79632cf9c37c7176825974e4b2d129c98e5f6c0
  • master default protected
  • pote_2023
  • ajout-variable-taux-allegement-general
  • tester-variable-taux-allegement-cotisations
  • ppa-rsa
  • documentations-html-acad4c9f95a39e798170e3e9ab147b24b9f7e613
  • 184-ajouter-une-variable-sur-le-non-recours
  • aides-logement
  • statistiques_impot
  • documentations-html-ab2ff75179b3a97939d5c802e370f32c1978b99b
  • statistiques_impot_corrections_chloe
  • documentations-html-e96b6fd1b3963bc54903d8de1e23ea3f7dbb2e00
  • cdhr_reform
  • memo_pfu
  • 177-integration-erfs-2021-pipeline
  • 175-ajout-code-casd
  • memo-navbar-color
  • memo-rsa-rmi
  • memo-aah-modif
  • baby-memo
21 results

pyproject.toml

  • pyproject.toml 2.72 KiB
    [tool.poetry.scripts]
    compare-leximpact = "leximpact_prepare_data.scenario_tools.comparison:compare"
    pipeline = "leximpact_prepare_data.run_pipeline:run_pipeline"
    
    [tool.poetry.group.dev.dependencies]
    pydocstyle = "^6.3.0"
    seaborn = "^0.13.2"
    jupyter = "^1.0.0"
    jupyterlab = "^3.2.8"
    ipykernel = "^6.2.0"
    lab = "^6.4"
    # pytest = "^5.2" Tiré par OpenFisca-France-Data
    papermill = "^2.3.3"
    plotly = "^5.4.0"
    xlrd = "^2.0.1"  # For Excel
    openpyxl = "^3.0.9"  # For Excel
    nbdev = "*"
    pre-commit = "*"
    nbqa = ">=1.2.3"
    flake8 = ">=3.9.0"
    black = ">=21.5b1"
    toml = "^0.10.2"
    
    [tool.poetry]
    name = "leximpact_prepare_data"
    version = "0.1.9"
    description = "Prepare data for LexImpact"
    authors = ["LexImpact <leximpact@an.fr>"]
    license = "AGPL-3.0"
    readme = "README.md"
    homepage = "https://leximpact.an.fr/"
    repository = "https://git.leximpact.dev/leximpact/simulateur-socio-fiscal/budget/leximpact-prepare-data"
    
    
    [tool.poetry.dependencies]
    python = ">=3.10,<3.12"
    leximpact-common-python-libraries = "^0.1.1"
    pandas = ">=2.0.3,<3.0"
    # A list of all of the optional dependencies, some of which are included in the
    # below `extras`. They can be opted into by apps.
    scikit-learn = { version = "^1.0.1", optional = true}
    tables = { version = "^3.6.1", optional = true}
    diagrams = { version = "^0.23", optional = true}
    leximpact-survey-scenario =  {git = "https://git.leximpact.dev/leximpact/simulateur-socio-fiscal/budget/leximpact-survey-scenario.git", rev="master"}
    openfisca-france-reforms = {git = "https://git.leximpact.dev/leximpact/simulateur-socio-fiscal/openfisca/openfisca-france-reforms.git"}
    leximpact-aggregates = "^0.0.39"
    multipledispatch = "^0.6.0"
    ipdb = "^0.13.13"
    kaleido = "0.2.1"
    # markupsafe = "2.0.1" tiré par openfisca-core
    itsdangerous = "2.0.1"
    # numexpr = "2.8.4" tiré par openfisca-core
    #pydantic = "^1.10.8" # https://github.com/vaexio/vaex/issues/2384
    
    # # end of comparator needs
    # werkzeug = "2.0.1" # tiré par openfisca-core
    pip = "^23.2"
    pypandoc = "^1.11"
    dtale = "^3.3.0"
    
    [tool.poetry_bumpversion.file."leximpact_prepare_data/__init__.py"]
    [tool.poetry_bumpversion.file."settings.ini"]
    [tool.poetry_bumpversion.file.".conda/meta.yaml"]
    
    [tool.poetry.extras]
    pipeline = ["scikit-learn", "diagrams", "tables", "python-dotenv", "pypandoc"]
    
    
    [tool.poetry.group.voila.dependencies]
    voila = "^0.4.0"
    
    [tool.black]
    target-version = ['py39']
    exclude = '''
    /(
        \.git
      | __pycache__
      | \.tox
      | \.venv
      | build
      | dist
      | docs
      | notes
      | openfisca-france-data
    )/
    '''
    
    [tool.isort]
    profile = "black"
    multi_line_output = 3
    skip_glob = [ "docs" ]
    
    [tool.ruff]
    lint.ignore = ["E501", "E402"]
    
    [tool.nbqa.addopts]
    ruff = [
    "--extend-ignore=F405,F821,F403,F811"
    ]
    
    [build-system]
    requires = ["poetry-core>=1.0.0"]
    build-backend = "poetry.core.masonry.api"