diff --git a/CHANGELOG.md b/CHANGELOG.md index 65ad3c8b..51919739 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +### 0.33.3 - [#XXX](https://github.com/openfisca/openfisca-tunisia/pull/XXX) + +* Amélioration technique. +* Détails : + - Migration vers Github actions (retrait de CircleCi) + ### 0.33.2 - [#126](https://github.com/openfisca/openfisca-tunisia/pull/126) * Ajoute la validation des paramètres YAML ainsi que l'intégration à la CI tax-benefit.org. diff --git a/openfisca_tunisia/__init__.py b/openfisca_tunisia/__init__.py index 134453f9..284d6554 100644 --- a/openfisca_tunisia/__init__.py +++ b/openfisca_tunisia/__init__.py @@ -1,8 +1,6 @@ -# -*- coding: utf-8 -*- - from openfisca_tunisia.tunisia_taxbenefitsystem import TunisiaTaxBenefitSystem -# The name CountryTaxBenefitSystem must not be changed, as all tools of the OpenFisca -# ecosystem expect a CountryTaxBenefitSystem class to be exposed +# The name CountryTaxBenefitSystem must not be changed, as all tools of the OpenFisca +# ecosystem expect a CountryTaxBenefitSystem class to be exposed # in the __init__ module of a country package. CountryTaxBenefitSystem = TunisiaTaxBenefitSystem diff --git a/openfisca_tunisia/conv.py b/openfisca_tunisia/conv.py index 9fc6c470..c47791e4 100644 --- a/openfisca_tunisia/conv.py +++ b/openfisca_tunisia/conv.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - # OpenFisca -- A versatile microsimulation software # By: OpenFisca Team # @@ -44,4 +41,3 @@ def remove(value): test_in(values, error = error), function(remove), ) - diff --git a/openfisca_tunisia/entities.py b/openfisca_tunisia/entities.py index 0cdbea68..403833d2 100644 --- a/openfisca_tunisia/entities.py +++ b/openfisca_tunisia/entities.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from openfisca_core.entities import build_entity diff --git a/openfisca_tunisia/model/base.py b/openfisca_tunisia/model/base.py index befc03c3..bd30d863 100644 --- a/openfisca_tunisia/model/base.py +++ b/openfisca_tunisia/model/base.py @@ -1,9 +1,5 @@ -# -*- coding: utf-8 -*- - - from datetime import date from openfisca_core.model_api import * from openfisca_tunisia.entities import FoyerFiscal, Individu, Menage - diff --git a/openfisca_tunisia/model/caracteristiques_socio_demographiques/demographie.py b/openfisca_tunisia/model/caracteristiques_socio_demographiques/demographie.py index 31bf632e..0a22ec57 100644 --- a/openfisca_tunisia/model/caracteristiques_socio_demographiques/demographie.py +++ b/openfisca_tunisia/model/caracteristiques_socio_demographiques/demographie.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from numpy import datetime64 diff --git a/openfisca_tunisia/model/caracteristiques_socio_demographiques/logement.py b/openfisca_tunisia/model/caracteristiques_socio_demographiques/logement.py index d00440b9..3f64abef 100644 --- a/openfisca_tunisia/model/caracteristiques_socio_demographiques/logement.py +++ b/openfisca_tunisia/model/caracteristiques_socio_demographiques/logement.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/model/common.py b/openfisca_tunisia/model/common.py index 82023375..2a20c6be 100644 --- a/openfisca_tunisia/model/common.py +++ b/openfisca_tunisia/model/common.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from __future__ import division diff --git a/openfisca_tunisia/model/prelevements_obligatoires/cotisations_sociales.py b/openfisca_tunisia/model/prelevements_obligatoires/cotisations_sociales.py index 07038a51..87ff5a18 100644 --- a/openfisca_tunisia/model/prelevements_obligatoires/cotisations_sociales.py +++ b/openfisca_tunisia/model/prelevements_obligatoires/cotisations_sociales.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from __future__ import division from numpy import zeros diff --git a/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/deductions.py b/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/deductions.py index e7f78fef..67e248e0 100644 --- a/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/deductions.py +++ b/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/deductions.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from openfisca_tunisia.model.base import * # déductions diff --git a/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/irpp.py b/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/irpp.py index ae6719b8..68271f6f 100644 --- a/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/irpp.py +++ b/openfisca_tunisia/model/prelevements_obligatoires/impot_revenu/irpp.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from __future__ import division from numpy import logical_or as or_ diff --git a/openfisca_tunisia/model/prestations_familiales.py b/openfisca_tunisia/model/prestations_familiales.py index 2097f12e..7eb76fee 100644 --- a/openfisca_tunisia/model/prestations_familiales.py +++ b/openfisca_tunisia/model/prestations_familiales.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from __future__ import division from numpy import ( diff --git a/openfisca_tunisia/model/revenus/activite/non_salarie.py b/openfisca_tunisia/model/revenus/activite/non_salarie.py index f758938f..31a15e55 100644 --- a/openfisca_tunisia/model/revenus/activite/non_salarie.py +++ b/openfisca_tunisia/model/revenus/activite/non_salarie.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/model/revenus/activite/salarie.py b/openfisca_tunisia/model/revenus/activite/salarie.py index d8069c8c..c25cfea3 100644 --- a/openfisca_tunisia/model/revenus/activite/salarie.py +++ b/openfisca_tunisia/model/revenus/activite/salarie.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/model/revenus/autres_revenus.py b/openfisca_tunisia/model/revenus/autres_revenus.py index d994b9d7..97d3dfae 100644 --- a/openfisca_tunisia/model/revenus/autres_revenus.py +++ b/openfisca_tunisia/model/revenus/autres_revenus.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/model/revenus/capital/foncier.py b/openfisca_tunisia/model/revenus/capital/foncier.py index 17842a0f..2aa51663 100644 --- a/openfisca_tunisia/model/revenus/capital/foncier.py +++ b/openfisca_tunisia/model/revenus/capital/foncier.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/model/revenus/capital/valeurs_mobilieres_et_capitaux_mobiliers.py b/openfisca_tunisia/model/revenus/capital/valeurs_mobilieres_et_capitaux_mobiliers.py index 477f94cc..f99eede1 100644 --- a/openfisca_tunisia/model/revenus/capital/valeurs_mobilieres_et_capitaux_mobiliers.py +++ b/openfisca_tunisia/model/revenus/capital/valeurs_mobilieres_et_capitaux_mobiliers.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/model/revenus/remplacement/retraite.py b/openfisca_tunisia/model/revenus/remplacement/retraite.py index 7bc1fef0..5b099b5f 100644 --- a/openfisca_tunisia/model/revenus/remplacement/retraite.py +++ b/openfisca_tunisia/model/revenus/remplacement/retraite.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/scenarios.py b/openfisca_tunisia/scenarios.py index fc5445b9..48ca08ed 100644 --- a/openfisca_tunisia/scenarios.py +++ b/openfisca_tunisia/scenarios.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - import logging log = logging.getLogger(__name__) diff --git a/openfisca_tunisia/survey_scenario/__init__.py b/openfisca_tunisia/survey_scenario/__init__.py index 912245c2..39e6419a 100644 --- a/openfisca_tunisia/survey_scenario/__init__.py +++ b/openfisca_tunisia/survey_scenario/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - import os from openfisca_tunisia import CountryTaxBenefitSystem as TunisiaTaxBenefitSystem from openfisca_tunisia.tunisia_taxbenefitsystem import TunisiaTaxBenefitSystem diff --git a/openfisca_tunisia/survey_scenario/data.py b/openfisca_tunisia/survey_scenario/data.py index cd29c7c0..0f8c5bfa 100644 --- a/openfisca_tunisia/survey_scenario/data.py +++ b/openfisca_tunisia/survey_scenario/data.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- - - from openfisca_tunisia.model.base import * diff --git a/openfisca_tunisia/tunisia_taxbenefitsystem.py b/openfisca_tunisia/tunisia_taxbenefitsystem.py index aa4ee85e..57e8d70b 100644 --- a/openfisca_tunisia/tunisia_taxbenefitsystem.py +++ b/openfisca_tunisia/tunisia_taxbenefitsystem.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - import glob import os diff --git a/setup.py b/setup.py index f843ff15..a41773fe 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,4 @@ #! /usr/bin/env python -# -*- coding: utf-8 -*- - """Tunisia specific model for OpenFisca -- a versatile microsimulation free software""" @@ -21,7 +19,7 @@ setup( name = 'OpenFisca-Tunisia', - version = '0.33.2', + version = '0.33.3', author = 'OpenFisca Team', author_email = 'contact@openfisca.org', classifiers = [classifier for classifier in classifiers.split('\n') if classifier],