Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
capn-freako committed Dec 17, 2023
2 parents dd9493e + f21a50a commit 8a93ae6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
9 changes: 5 additions & 4 deletions src/pyibisami/ami/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
}


Expand Down

0 comments on commit 8a93ae6

Please sign in to comment.