mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
1.将请求相关封装成了Request类 2.新增了获取cookies后使用aiohttp请求的机制,理论上可以提速+减少不必要的性能开销,并且将cookies存储至cache 3.整理代码 新增config.py,用于配置cache路径 添加依赖项Brotli
32 lines
1.3 KiB
INI
32 lines
1.3 KiB
INI
[MAIN]
|
|
# A comma-separated list of package or module names from where C extensions may
|
|
# be loaded. Extensions are loading into the active Python interpreter and may
|
|
# run arbitrary code.
|
|
extension-pkg-allow-list=lxml, pydantic
|
|
|
|
# A comma-separated list of package or module names from where C extensions may
|
|
# be loaded. Extensions are loading into the active Python interpreter and may
|
|
# run arbitrary code. (This is an alternative name to extension-pkg-allow-list
|
|
# for backward compatibility.)
|
|
extension-pkg-whitelist=lxml, pydantic
|
|
|
|
# List of module names for which member attributes should not be checked
|
|
# (useful for modules/projects where namespaces are manipulated during runtime
|
|
# and thus existing member attributes cannot be deduced by static analysis). It
|
|
# supports qualified module names, as well as Unix pattern matching.
|
|
ignored-modules=ujson
|
|
|
|
disable=
|
|
C0114, # missing-module-docstring
|
|
|
|
[MESSAGES CONTROL]
|
|
# Enable the message, report, category or checker with the given id(s). You can
|
|
# either give multiple identifier separated by comma (,) or put this option
|
|
# multiple time (only on the command line, not in the configuration file where
|
|
# it should appear only once). See also the "--disable" option for examples.
|
|
enable=c-extension-no-member
|
|
|
|
[FORMAT]
|
|
# Maximum number of characters on a single line.
|
|
max-line-length=120
|