diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6e86c5..317ea3e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: rev: stable hooks: - id: black - language_version: python3.7 + language_version: python3 - repo: https://github.com/asottile/reorder_python_imports rev: v1.9.0 hooks: diff --git a/potodo/__init__.py b/potodo/__init__.py index bebc8e9..dec81b6 100644 --- a/potodo/__init__.py +++ b/potodo/__init__.py @@ -2,4 +2,4 @@ __author__ = """Jules Lasne""" __email__ = "jules.lasne@gmail.com" -__version__ = "0.21.1" +__version__ = "0.21.2" diff --git a/potodo/github.py b/potodo/github.py index 9e9deac..2a934fd 100644 --- a/potodo/github.py +++ b/potodo/github.py @@ -77,7 +77,7 @@ def _get_reservation_list(repo_path: Path) -> Dict[str, Tuple[Any, Any]]: for issue in issues: # Maybe find a better way for not using python 3.8 ? - yes = re.search(r"\w*/\w*\.po", issue["title"]) + yes = re.search(r"\w*/(\w|\.)*\.po", issue["title"]) if yes: creation_date = datetime.strptime( issue["created_at"].split("T")[0], "%Y-%m-%d"