Skip to content
Open
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: 3 additions & 3 deletions bindgen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import List

import logzero
import toml as toml
import tomli
import pandas as pd
import pyparsing as pp

Expand All @@ -23,8 +23,8 @@

def read_settings(p):

with open(p) as f:
settings = toml.load(f)
with open(p, 'rb') as f:
settings = tomli.load(f)

# validate
settings = global_schema.validate(settings)
Expand Down
2 changes: 1 addition & 1 deletion env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- pybind11=2.4.3
- python=3.6
- joblib
- toml
- tomli
- pip
- cmake=3.16
- ninja
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"logzero",
"path",
"clang",
"toml",
"tomli",
"pandas",
"joblib",
"tqdm",
Expand Down
Loading