Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainipp committed Oct 7, 2024
1 parent ce8ef34 commit 88b3216
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 190 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ def formula_2013_01_01(individu, period, parameters):
# Taux de CICE
taux_cice = np.where(dep_drom, cice.taux_om, cice.taux)
# Calcul du taux applicable
taux_applicable_cice = ((assiette_allegement/(smic_proratise+1e-16)) <= cice.plafond_smic) * taux_cice
taux_applicable_cice = ((assiette_allegement/(smic_proratise + 1e-16)) <= cice.plafond_smic) * taux_cice
# Calcul du montant du crédit d'impôt
credit_impot_competitivite_emploi = taux_applicable_cice * assiette_allegement

return credit_impot_competitivite_emploi * not_(stagiaire) * not_(association)


class aide_premier_salarie(Variable):
value_type = float
Expand Down Expand Up @@ -338,7 +338,7 @@ def formula_2005_07_01(individu, period, parameters):
exoneration_cotisations_employeur_jei = individu('exoneration_cotisations_employeur_jei', period)
exoneration_cotisations_employeur_tode = individu('exoneration_cotisations_employeur_tode', period)
exoneration_lodeom = individu('exoneration_lodeom', period)
non_cumulee = not_(exoneration_cotisations_employeur_jei+exoneration_cotisations_employeur_tode+exoneration_lodeom)
non_cumulee = not_(exoneration_cotisations_employeur_jei + exoneration_cotisations_employeur_tode + exoneration_lodeom)

# switch on 3 possible payment options
allegement = switch_on_allegement_mode(
Expand Down
Loading

0 comments on commit 88b3216

Please sign in to comment.