Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c035802
[refactor] Delete empty line in setup.py
alexandre-ehrd Jun 11, 2025
7333110
[fix #24] Correct the parsing due to Marmiton website updates
alexandre-ehrd Jun 11, 2025
ce8ef6e
[fix] Update query options
alexandre-ehrd Jun 11, 2025
805a848
[fix] Handle RecipeNotFound exception during recipe search
alexandre-ehrd Jun 19, 2025
95d5e73
[fix] Add recipes.json to .gitignore
alexandre-ehrd Jun 19, 2025
5cadcc7
[fix] Update plate type options in query_options in example.py
alexandre-ehrd Jun 19, 2025
f4c98e5
[fix] Add some methods to get more informations (plate_type, is_veget…
alexandre-ehrd Jun 19, 2025
a25139a
[feat] Add main.py to search and save some recipes
alexandre-ehrd Jun 19, 2025
94c773d
[feat] Add parse_duration_to_minutes function to convert string to mi…
alexandre-ehrd Jun 20, 2025
aa870a8
[feat] Add some parsing
alexandre-ehrd Jun 20, 2025
a6459ea
[fix] Rename method and variable for clarity: _get_type to _get_plate…
alexandre-ehrd Jun 20, 2025
a071b13
[feat] Update _get_ingredients method to return detailed ingredient i…
alexandre-ehrd Jun 24, 2025
87c2096
[feat] Update recipe list and enhance recipe retrieval logic
alexandre-ehrd Jun 24, 2025
64fb500
[refactor] Update function documentation
alexandre-ehrd Jun 24, 2025
dbc6053
[fix] Update dependancies in requirements.txt
alexandre-ehrd Jun 24, 2025
b1efc0d
[refactor] Improve result display format
alexandre-ehrd Jun 24, 2025
d904d10
[feat] Add rating and number of comments to recipe search results
alexandre-ehrd Jun 24, 2025
877ec91
[doc] Update README.md
alexandre-ehrd Jun 24, 2025
8678801
[fix] Update .gitignore
alexandre-ehrd Jun 26, 2025
b1d7260
[refactor] Lint the code
alexandre-ehrd Jun 26, 2025
8567e27
[feat] Add unit tests for parse_duration_to_minutes
alexandre-ehrd Jun 26, 2025
d647b06
[feat] Add Tox configuration
alexandre-ehrd Jun 26, 2025
9a44dc2
[feat] Add pre-commit configuration with ruff and docformatter
alexandre-ehrd Jun 26, 2025
7d590f0
[feat] Add a CI workflow
alexandre-ehrd Jun 26, 2025
98a17b0
[docs] Add a CI status bar in the README.md
alexandre-ehrd Jun 26, 2025
c30cdc6
[fix] Update coverage configuration
alexandre-ehrd Jun 26, 2025
5e43f89
[fix] Update trigger branch for the CI
alexandre-ehrd Jun 26, 2025
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
9 changes: 9 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[run]
source = .
omit = .tox/*
setup.py
example.py
plats.py
main.py
marmiton/__init__.py
tests/__init__.py
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
lint-format-test:
name: Format & Coverage
runs-on: ubuntu-latest

steps:
- name: 🧾 Cloner le dépôt
uses: actions/checkout@v4

- name: 🐍 Installer Python
uses: actions/setup-python@v5
with:
python-version: '3.13'

- name: 📦 Installer tox
run: |
python -m pip install --upgrade pip
pip install tox

- name: 🎨 Vérification du format
run: tox -e check_format

- name: 🧪 Exécution des tests + couverture
run: tox -e test

- name: 📤 Publication du rapport de couverture HTML
uses: actions/upload-artifact@v4
with:
name: htmlcov
path: htmlcov/
Loading