Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
davebulaval committed Jun 28, 2024
1 parent 525f2d7 commit d8d230f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
[tool.black]
line-length = 120
skip-string-normalization = true
required-version = "23.1.0"
extend-exclude = "/(slides)/"

testpaths = [
"tests",
]
1 change: 1 addition & 0 deletions risc_generator/content/en/declaration_articles/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ def generate_item_4_text(protections: Protections, premium: Premium) -> str:

# We construct the text to use using template filling.
for protection_name in all_property_damage_protection:

# To extract the proper property damage text, we use the protection damage name written in CamelCase
# and convert it into snake_case.
snake_case_protection_name = change_to_snake_case(protection_name)
Expand Down
1 change: 1 addition & 0 deletions risc_generator/content/fr/declaration_articles/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def generate_item_4_text(protections: Protections, premium: Premium) -> str:

# We construct the text to use using template filling.
for protection_name in all_property_damage_protection:

# To extract the proper property damage text, we use the protection damage name written in CamelCase
# and convert it into snake_case.
snake_case_protection_name = change_to_snake_case(protection_name)
Expand Down
1 change: 1 addition & 0 deletions risc_generator/content/fr/fpq_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ def generate_loss_and_claims_reporting_text() -> str:
f"{NEW_PAGE_TAG}\n"
f"{fpq1_pages_header_text}"
"\t n'a pas respecté le contrat d'assurance.\n"
"4. ARBITRAGE EN CAS DE DÉSACCORD ENTRE L'ASSURÉ DÉSIGNÉ ET L'ASSUREUR 26\n"
"4.1 Faire une demande d'arbitrage\n"
"L'assuré désigné ou l'assureur peuvent faire une demande d'arbitrage s'ils ne sont pas d'accord "
"sur les questions suivantes :\n"
Expand Down
1 change: 1 addition & 0 deletions risc_generator/faker/vehicule_faker/vehicle_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- removal of machine
- removal of Category
"""

from random import choice

from faker.providers import BaseProvider
Expand Down

0 comments on commit d8d230f

Please sign in to comment.