upstream: https://github.com/mirage/ocaml-gpt
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): resolve E325, E330, E340, E300, E405 across freebox, git, hap

E325 naming convention:
- freebox: find_correlated → correlated (returns list, not option)
- git: Config.get → Config.find (returns string option)
- hap: get_accessory_info → find_accessory_info, get_bool_value → find_bool_value

E330 redundant module prefix:
- freebox: auth_result → result, wifi_config → config
- git: Diff.diff_trees → trees, diff_commits → commits,
diff_tree_to_empty → tree_to_empty, diff_empty_to_tree → empty_to_tree,
Pack_index.pack_index_magic → magic, Remote.remote_head → head,
remote_matches_local → matches_local, Worktree.worktree_name → name
- hap: hap_request → request

E340 error patterns: crow/bin/main.ml err_* helpers
E300 variant naming: conpool AllPresets → All_presets, ListPresets → List_presets
E405 missing docs: freebox, hap, git, gpt .mli files

+7 -11
+1 -1
test/test.ml
··· 1 - let () = Alcotest.run "gpt" Test_gpt.suite 1 + let () = Alcotest.run "gpt" [ Test_gpt.suite ]
+3 -6
test/test_gpt.ml
··· 342 342 ] 343 343 344 344 let suite = 345 - [ 346 - ("Test GPT Partitions", partition_test_collection); 347 - ("Test GPT Header", gpt_header_test_collection); 348 - ("Test GPT", gpt_test_collection); 349 - ("Wire", wire_test_collection); 350 - ] 345 + ( "gpt", 346 + partition_test_collection @ gpt_header_test_collection @ gpt_test_collection 347 + @ wire_test_collection )
+3 -4
test/test_gpt.mli
··· 1 - val suite : (string * unit Alcotest.test_case list) list 2 - (** [suite] is the Alcotest test suite for the GPT library. It covers partition 3 - creation, GPT header validation, marshal/unmarshal roundtrips, and Wire 4 - codec encoding/decoding. *) 1 + (** GPT tests. *) 2 + 3 + val suite : string * unit Alcotest.test_case list