Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"howlongtobeatpy-devcontainer",
"image":"mcr.microsoft.com/devcontainers/python:3.9",
"image":"mcr.microsoft.com/devcontainers/python:3.13",
"features":{

},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-publish-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.13'
- name: Install pypa/build
run: |
python3 -m pip install build --user
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.13'
- name: Install dependencies
run: |
cd howlongtobeatpy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.13'
- name: Install dependencies
run: |
cd howlongtobeatpy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion howlongtobeatpy/howlongtobeatpy/HowLongToBeatEntry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self):
self.coop_time = None
# invested_mp value
self.mp_time = None
# These are used to identify if the game has singpe, coop and/or multiplayer
# These are used to identify if the game has singleplayer, coop and/or multiplayer
# So you can filter data based on those
self.complexity_lvl_combine = False
self.complexity_lvl_sp = False
Expand Down
6 changes: 3 additions & 3 deletions howlongtobeatpy/howlongtobeatpy/JSONResultParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ def parse_json_element(self, input_game_element):
current_entry.complexity_lvl_mp = bool(input_game_element.get("comp_lvl_mp", 0))
# Auto-Nullify values based on the flags
if self.auto_filter_times:
if current_entry.complexity_lvl_sp is False:
if not current_entry.complexity_lvl_sp:
current_entry.main_story = None
current_entry.main_extra = None
current_entry.completionist = None
current_entry.all_styles = None
if current_entry.complexity_lvl_co is False:
if not current_entry.complexity_lvl_co:
current_entry.coop_time = None
if current_entry.complexity_lvl_mp is False:
if not current_entry.complexity_lvl_mp:
current_entry.mp_time = None
# Compute Similarity
game_name_similarity = self.similar(self.game_name, current_entry.game_name,
Expand Down
10 changes: 5 additions & 5 deletions howlongtobeatpy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
license='MIT',
keywords='howlongtobeat gaming steam uplay origin time length how long to beat',
install_requires=[
'aiohttp>=3.11.10',
'requests>=2.32.3',
'aiounittest>=1.4.2',
'fake_useragent>=2.0.3',
'beautifulsoup4>=4.12.3'
'aiohttp~=3.12',
'requests~=2.32',
'aiounittest~=1.5',
'fake_useragent~=2.2',
'beautifulsoup4~=4.13'
],
zip_safe=False)
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sonar.projectKey=ScrappyCocco_HowLongToBeat-PythonAPI

sonar.projectName=HowLongToBeat-PythonAPI
sonar.projectVersion=1.0.18
sonar.python.version=3.9
sonar.python.version=3.13

# Define separate root directories for sources and tests
sonar.sources=howlongtobeatpy/howlongtobeatpy/
Expand Down