diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 08b3e2c..c46e476 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.1 hooks: - id: isort args: ["--profile", "black", "--filter-files"] diff --git a/src/pyibisami/ami/config.py b/src/pyibisami/ami/config.py index 16ac087..c33308c 100644 --- a/src/pyibisami/ami/config.py +++ b/src/pyibisami/ami/config.py @@ -35,10 +35,11 @@ import em param_types = { - "INT": {"c_type": "int", "ami_type": "Integer", "getter": "get_param_int"}, - "FLOAT": {"c_type": "float", "ami_type": "Float", "getter": "get_param_float"}, - "BOOL": {"c_type": "bool", "ami_type": "Boolean", "getter": "get_param_bool"}, - "STRING": {"c_type": "char *", "ami_type": "String", "getter": "get_param_str"}, + "INT": {"c_type": "int", "ami_type": "Integer", "getter": "get_param_int"}, + "FLOAT": {"c_type": "float", "ami_type": "Float", "getter": "get_param_float"}, + "TAP": {"c_type": "float", "ami_type": "Tap", "getter": "get_param_float"}, + "BOOL": {"c_type": "bool", "ami_type": "Boolean", "getter": "get_param_bool"}, + "STRING": {"c_type": "char *", "ami_type": "String", "getter": "get_param_str"}, }