mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
修复无法初始化数据库的问题
删除.idea文件夹
This commit is contained in:
parent
12ce37feda
commit
3e824a9306
8 changed files with 2 additions and 82 deletions
3
.idea/.gitignore
vendored
3
.idea/.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
|||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.12" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="ignoredPackages">
|
||||
<value>
|
||||
<list size="19">
|
||||
<item index="0" class="java.lang.String" itemvalue="httpx" />
|
||||
<item index="1" class="java.lang.String" itemvalue="annotated-types" />
|
||||
<item index="2" class="java.lang.String" itemvalue="bs4" />
|
||||
<item index="3" class="java.lang.String" itemvalue="jiter" />
|
||||
<item index="4" class="java.lang.String" itemvalue="trio-websocket" />
|
||||
<item index="5" class="java.lang.String" itemvalue="aiohappyeyeballs" />
|
||||
<item index="6" class="java.lang.String" itemvalue="h11" />
|
||||
<item index="7" class="java.lang.String" itemvalue="xlwt" />
|
||||
<item index="8" class="java.lang.String" itemvalue="qq-botpy" />
|
||||
<item index="9" class="java.lang.String" itemvalue="chromedriver" />
|
||||
<item index="10" class="java.lang.String" itemvalue="pydantic-core" />
|
||||
<item index="11" class="java.lang.String" itemvalue="wsproto" />
|
||||
<item index="12" class="java.lang.String" itemvalue="openai" />
|
||||
<item index="13" class="java.lang.String" itemvalue="trio" />
|
||||
<item index="14" class="java.lang.String" itemvalue="selenium" />
|
||||
<item index="15" class="java.lang.String" itemvalue="propcache" />
|
||||
<item index="16" class="java.lang.String" itemvalue="apscheduler" />
|
||||
<item index="17" class="java.lang.String" itemvalue="outcome" />
|
||||
<item index="18" class="java.lang.String" itemvalue="httpcore" />
|
||||
</list>
|
||||
</value>
|
||||
</option>
|
||||
</inspection_tool>
|
||||
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||
<option name="ignoredErrors">
|
||||
<list>
|
||||
<option value="N806" />
|
||||
</list>
|
||||
</option>
|
||||
</inspection_tool>
|
||||
</profile>
|
||||
</component>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.13 (2)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/SanYeCao-Nonebot.iml" filepath="$PROJECT_DIR$/.idea/SanYeCao-Nonebot.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
|
@ -28,7 +28,7 @@ def QrFortune_init():
|
|||
"""
|
||||
def execute_init_file():
|
||||
# 拼接文件的完整路径
|
||||
file_path = os.getcwd() + "\\src\\qq_plugins\\data_init\\fortune_init_data.py"
|
||||
file_path = os.getcwd() + "\\src\\my_sqlite\\data_init\\fortune_init_data.py"
|
||||
init_file_path = os.path.join(os.path.dirname(__file__), file_path)
|
||||
try:
|
||||
# 执行初始化文件
|
||||
|
|
@ -53,7 +53,7 @@ def touch_init():
|
|||
"""
|
||||
def execute_init_file2():
|
||||
# 拼接文件的完整路径
|
||||
file_path = os.getcwd() + "\\src\\qq_plugins\\data_init\\touch_init_data.py"
|
||||
file_path = os.getcwd() + "\\src\\my_sqlite\\data_init\\touch_init_data.py"
|
||||
init_file_path = os.path.join(os.path.dirname(__file__), file_path)
|
||||
try:
|
||||
# 执行初始化文件
|
||||
|
|
|
|||
Loading…
Reference in a new issue