Skip to content

Commit

Permalink
fix: correction des erreurs de styles de code
Browse files Browse the repository at this point in the history
  • Loading branch information
jenovateurs committed Dec 27, 2024
1 parent 701f3aa commit c13c91d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openfisca_france/model/prestations/bail_reel_solidaire.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def preload_zone_abc():
return {
row['CODGEO']: row['Zone en vigueur depuis le 5 juillet 2024']
for row in reader
}
}


class bail_reel_solidaire(Variable):
Expand All @@ -42,12 +42,12 @@ def formula(menage, period, parameters):

# Accès aux paramètres selon la zone
params = parameters(period).prestations_sociales.bail_reel_solidaire.plafonds_par_zones[f'zone_{zone}']
print(params)
# print(params)

# Calcul des ressources (revenu fiscal de référence)
rfr = menage.sum(menage.members.foyer_fiscal('rfr', period.n_2), role = FoyerFiscal.DECLARANT_PRINCIPAL)[0]

print("RFR: ", rfr)
# print("RFR: ", rfr)

# Détermination du plafond selon le nombre de personnes
if nb_personnes > 6:
Expand Down

0 comments on commit c13c91d

Please sign in to comment.