Skip to content

Commit

Permalink
Saved at 2025-01-05 21:05:01 (Sun) (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
dycw authored Jan 5, 2025
1 parent ad06dba commit ef47952
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[bumpversion]
current_version = 0.1.210
current_version = 0.1.211
7 changes: 7 additions & 0 deletions nvim/lua/snippets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,13 @@ ls.add_snippets("python", {
s("settings-max-examples", { t({ "@settings(max_examples=1)", "" }) }),

-- ib-async
s("ib-cont-future", { t({ "from ib_async import ContFuture", "" }) }),
s("ib-crypto", { t({ "from ib_async import Crypto", "" }) }),
s("ib-forex", { t({ "from ib_async import Forex", "" }) }),
s("ib-future", { t({ "from ib_async import Future", "" }) }),
s("ib-ib", { t({ "from ib_async import IB", "" }) }),
s("ib-index", { t({ "from ib_async import Index", "" }) }),
s("ib-stock", { t({ "from ib_async import Stock", "" }) }),

-- itertools
s("it-accumulate", { t({ "from itertools import accumulate", "" }) }),
Expand Down Expand Up @@ -347,6 +353,7 @@ ls.add_snippets("python", {
s("ut-partial", { t({ "from utilities.functools import partial", "" }) }),
s("ut-path-like", { t({ "from utilities.pathlib import PathLike", "" }) }),
s("ut-read-pickle", { t({ "from utilities.pickle import read_pickle", "" }) }),
s("ut-replace-non-sentinel", { t({ "from utilities.dataclasses import replace_non_sentinel", "" }) }),
s("ut-repr-without-defaults", { t({ "from utilities.dataclasses import repr_without_defaults", "" }) }),
s("ut-safe-round", { t({ "from utilities.math import safe_round", "" }) }),
s("ut-select-to-dataframe", { t({ "from utilities.sqlalchemy_polars import select_to_dataframe", "" }) }),
Expand Down

0 comments on commit ef47952

Please sign in to comment.