Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed Nov 14, 2024
1 parent 507bba5 commit b508f66
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
24 changes: 9 additions & 15 deletions openfisca_tunisia_pension/variables/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,12 @@

from openfisca_tunisia_pension.entities import Individu

# raic -> raci

# Socio-economic data
# Donnée d'entrée de la simulation à fournir à partir d'une enquète ou
# à générer avec un générateur de cas type


class date_naissance(Variable):
value_type = date
default_value = date(1970, 1, 1)
class age(Variable):
value_type = int
entity = Individu
label = 'Date de naissance'
definition_period = ETERNITY
label = 'Âge'
definition_period = YEAR


class salaire(Variable):
Expand All @@ -24,11 +17,12 @@ class salaire(Variable):
definition_period = YEAR


class age(Variable):
value_type = int
class date_naissance(Variable):
value_type = date
default_value = date(1970, 1, 1)
entity = Individu
label = 'Âge'
definition_period = YEAR
label = 'Date de naissance'
definition_period = ETERNITY


class trimestres_valides(Variable):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "OpenFisca-Tunisia-Pension"
version = "2.0.0"
version = "2.0.1"
description = "OpenFisca Rules as Code model for Tunisia pensions."
readme = "README.md"
keywords = ["microsimulation", "tax", "benefit", "pension", "rac", "rules-as-code", "tunisia"]
Expand Down

0 comments on commit b508f66

Please sign in to comment.