Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
__pycache__
__pycache__/
*.pytest_cache
<<<<<<< HEAD
.venv/

=======
.env/
>>>>>>> origin/main
# .env
*.db
*.idea
Expand Down
64 changes: 28 additions & 36 deletions .ls-lint.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,37 @@
ls:
.dir: snake_case
.*: snake_case
.md: snake_case | regex:[0-9A-Z\-]+
.txt: snake_case | kebab-case
.yml: snake_case | kebab-case
.ipynb: snake_case
.csv: snake_case
.py: snake_case
.dir: "snake_case"
.*: "snake_case"
.md: "snake_case | regex:[0-9A-Z\\-]+"
.txt: "snake_case | kebab-case"
.yml: "snake_case | kebab-case"
.ipynb: "snake_case"
.csv: "snake_case"
.py: "snake_case"

.: # Répertoires racine
.: # Répertoires racine
.*/:
snakecase: true
snakecase: ""
ignore:
- 1_datasets/raw_data/**
- "1_datasets/raw_data/**"

ignore:
- .git
- .github
- .vscode
- .ruff_cache
- .pytest_cache
- __pycache__
<<<<<<< HEAD
- .venv
- **/site-packages/**
- 1_datasets
- data
- dist
- build

rules:
some_rule: "true" # string entre guillemets
ignore:
- ".venv/"

description: "Check code formatting: true/false"
=======
- .ls-lint.yml
- .markdownlint.yml

- ".git"
- ".github"
- ".vscode"
- ".ruff_cache"
- ".pytest_cache"
- "__pycache__"
- ".venv"
- "**/site-packages/**"
- "1_datasets"
- "data"
- "dist"
- "build"

rules:
some_rule: "true"
>>>>>>> origin/main

description:
- "Check code formatting: true/false"
- ".ls-lint.yml"
- ".markdownlint.yml"
8 changes: 4 additions & 4 deletions 4_data_analysis/MLProject.ipynb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in 4_data_analysis/MLProject.ipynb

View workflow job for this annotation

GitHub Actions / py_linting

Ruff (F541)

4_data_analysis/MLProject.ipynb:1:1: F541 f-string without any placeholders

Check failure on line 1 in 4_data_analysis/MLProject.ipynb

View workflow job for this annotation

GitHub Actions / py_linting

Ruff (F541)

4_data_analysis/MLProject.ipynb:1:1: F541 f-string without any placeholders

Check failure on line 1 in 4_data_analysis/MLProject.ipynb

View workflow job for this annotation

GitHub Actions / py_linting

Ruff (F541)

4_data_analysis/MLProject.ipynb:1:1: F541 f-string without any placeholders
"cells": [
{
"cell_type": "markdown",
Expand Down Expand Up @@ -1020,7 +1020,7 @@
},
{
"cell_type": "code",
"execution_count": 40,
"execution_count": null,
"id": "59e0c6ab",
"metadata": {},
"outputs": [
Expand All @@ -1031,7 +1031,7 @@
"=== MAKING PREDICTIONS ===\n",
"\n",
"=== EXAMPLE PREDICTIONS ===\n",
"Predicted tourists for Bahamas in 20281604 thousand trips\n",
"Predicted tourists for Bahamas in 2028: 1604 thousand trips\n",
"Predicted total visitors for Dominican Republic in 2027: 1864 thousand trips\n",
"Predicted excursionists for Jamaica in 2026: 1129 thousand trips\n"
]
Expand Down Expand Up @@ -1094,7 +1094,7 @@
"\n",
"# Example 1\n",
"pred1 = predict_tourist_numbers(2028, \"Bahamas\", \"tourists\") \n",
"print(f\"Predicted tourists for Bahamas in 2028{pred1:.0f} thousand trips\")\n",
"print(f\"Predicted tourists for Bahamas in 2028: {pred1:.0f} thousand trips\")\n",
"\n",
"# Example 2\n",
"pred2 = predict_tourist_numbers(2027, \"Dominican Republic\", \"visitors_total\")\n",
Expand Down Expand Up @@ -1210,7 +1210,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "62013b02",
"id": "0daf8570",
"metadata": {},
"outputs": [],
"source": []
Expand Down
1 change: 1 addition & 0 deletions 5_communication_strategy/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- markdownlint-disable MD013 -->
# Communication Strategy

Haiti Paradise: WhatsApp Campaign Strategy Document
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
exclude = [
".venv",
"__pycache__",
"*.pyc",
"*.ipynb",
"**/*.ipynb",
]

Loading