Skip to content

Commit

Permalink
fixup! Adds division_io.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Mar 20, 2024
1 parent 978a6b4 commit 4905383
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion conf/packages
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ python3-mysqldb
snarf
python3-dev
libmariadb-dev
python3-venv
python3-venv
pkg-config
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rich-click==1.7.3
pandas==1.3.5
pyarrow==12.0.1
mysqlclient==2.1.1
rich-click==1.7.4
pandas==2.2.1
pyarrow==15.0.2
mysqlclient==2.2.4
4 changes: 2 additions & 2 deletions scripts/division_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import re
from enum import Enum
from pathlib import Path
from typing import Dict, cast
from typing import cast
from warnings import filterwarnings

import MySQLdb
Expand Down Expand Up @@ -48,7 +48,7 @@ def cli():
pass


def fast_config(config_path: Path) -> Dict[str, str]:
def fast_config(config_path: Path) -> dict[str, str]:
"""
There's a more comprehensive config parser in commonlib/pylib/mysociety/config.py
But this is all we need for this function.
Expand Down

0 comments on commit 4905383

Please sign in to comment.