Commit Graph

709 Commits

Author SHA1 Message Date
192c8da09c 🔀 Merge pull request #797
Feature: 新增文本完整匹配规则
2022-02-18 11:04:49 +08:00
Mix
0f0dc0a818 improve full match performance with frozenset 2022-02-17 23:49:47 +08:00
c48ddaf0a2 🐛 fix DataclassEncoder bug and add test case 2022-02-17 15:06:26 +08:00
f737bb899c 🚨 auto fix by pre-commit hooks 2022-02-15 00:27:43 +00:00
9f12404338 add full match Matcher 2022-02-15 08:20:29 +08:00
Mix
04fe654d74 📝 Add document for message template (#789)
* 📝 Add document for message template

* 📝 🎨 Optimize example reading experience for message template

* 🚨 auto fix by pre-commit hooks

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-12 16:15:06 +08:00
943de58826 🏷️ fix typing error 2022-02-11 11:25:31 +08:00
Mix
b7762b9176 🔒 🐛 Add initial value to vformat results list, fix #781 2022-02-10 13:17:11 +08:00
Mix
28cfa45d95 🐛 Fix Message.template format spec does not support static method
Fixes #770
2022-02-06 18:40:30 +08:00
118519e15d ♻️ reorganize internal tree 2022-02-06 17:08:11 +08:00
924d9b6536 ✏️ fix changelog and typing 2022-02-06 15:24:41 +08:00
fd11e2696b ♻️ reorganize class and add bot hook di 2022-02-06 14:52:50 +08:00
dcaf5cedcf 💡 update matcher docstrings 2022-02-05 16:49:21 +08:00
4e1e0e98b4 Merge branch 'nonebot:dev' into dev 2022-02-04 15:14:06 +08:00
a68a6e2659 ✏️ fix typo in fastapi 2022-02-04 15:13:31 +08:00
e720584044 change hook parse typing 2022-02-04 11:12:17 +08:00
ec9e8511b7 reduce the hook typing limit 2022-02-04 11:06:38 +08:00
60ccdf8a7a 🐛 fix typing error for logger wrapper 2022-01-30 15:03:10 +08:00
2cd6867bd1 add more tests 2022-01-30 11:04:02 +08:00
2ec5917709 🐛 fix missing self instance validate 2022-01-29 23:55:14 +08:00
5fa7806a2f improve pydantic validate for message 2022-01-29 18:20:30 +08:00
b43dfb983d ⚰️ remove unused import 2022-01-29 15:36:25 +08:00
e887c39998 🏷️ update message typing 2022-01-29 13:56:54 +08:00
ac0dd63ca4 🔀 Merge pull request #749
CI: avoid duplicate CI runs
2022-01-28 16:48:06 +08:00
ad712c59b3 reuse type check code for dependent 2022-01-28 14:49:04 +08:00
1271a757c9 👽 update type check due to py3.10 UnionType 2022-01-28 14:27:54 +08:00
fd8fd233b6 🚨 auto fix by pre-commit hooks 2022-01-28 06:04:57 +00:00
1da7da9fc1 🐛 fix dict(config) raise error 2022-01-27 11:15:44 +08:00
0885474b94 improve plugin finder 2022-01-26 20:55:23 +08:00
770e808f1d add require tests 2022-01-26 15:37:35 +08:00
5c73c80c65 🐛 fix require error 2022-01-26 15:06:53 +08:00
596f763c46 🔀 Merge pull request #691
:construction_workerusing: nb-autodoc to generate api docs
2022-01-23 12:07:51 +08:00
5f3902fe61 ✏️ fix hook typo 2022-01-23 11:48:35 +08:00
12d9a68351 🐛 fix typing error for mutex 2022-01-22 15:26:22 +08:00
c4e204001e 💡 add docstrings 2022-01-22 15:23:07 +08:00
f9674da6ea 💡 add di docstrings 2022-01-21 21:04:17 +08:00
aef585c60c 💡 add adapter docstring 2022-01-20 14:49:46 +08:00
f6308916ad 🐛 fix bug and improve test coverage 2022-01-20 03:16:04 +08:00
b3d0e7c548 🚨 auto fix by pre-commit hooks 2022-01-19 18:10:30 +00:00
67f5b87492 🐛 fix single_session bug 2022-01-20 02:05:57 +08:00
98ef09585a 💡 add docstrings 2022-01-19 16:16:56 +08:00
4701537a48 💡 add docstrings 2022-01-18 23:46:10 +08:00
608cf859c8 💡 add log, exception, consts docstring 2022-01-18 16:12:12 +08:00
27b1ded9a1 💡 add config docstring 2022-01-18 12:31:08 +08:00
a07919ad5c 📝 rewrite docstring 2022-01-17 15:06:53 +08:00
Mix
3b4c4d3081 Implement .count and optimize .get performance for message slice 2022-01-17 00:28:36 +08:00
Mix
1221baaa94 Implement .get and .index methods for Message 2022-01-16 17:13:26 +08:00
39822378a7 🚨 auto fix by pre-commit hooks 2022-01-16 05:26:55 +00:00
Mix
3041650b4b add advanced message slice support 2022-01-16 13:17:05 +08:00
3a9a5a9ce9 📝 add frontmatter config 2022-01-16 11:30:09 +08:00