Use only Python

This commit is contained in:
Lucàs
2023-12-26 22:09:40 +01:00
parent 31f70d319f
commit efbf7fb7cc
33 changed files with 625 additions and 391 deletions
+79 -39
View File
@@ -5,37 +5,34 @@
</component>
<component name="ChangeListManager">
<list default="true" id="b25cc8d3-396f-4036-b751-5d061242b2fc" name="Changes" comment="Add ts-node and some skills">
<change afterPath="$PROJECT_DIR$/components/ImageComponent.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/components/LinkComponent.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/config.yaml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/main.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/models/BadgeModel.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/models/BannerModel.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/models/ConfigModel.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/models/LinkModel.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/Banner.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/Context.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/Link.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/Skill.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/url_builder/BadgeUrlBuilder.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/url_builder/BannerUrlBuilder.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/url_builder/UrlBuilder.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/views/template.njk" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.gitignore" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/core/FooterBadge.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/core/Link.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/core/Log.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/core/Skill.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/data/footerBadges.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/data/links.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/data/skills.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/index.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/tsconfig.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/views/README.njk" beforeDir="false" />
<change afterPath="$PROJECT_DIR$/assets/banner.svg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/requirements" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/config.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/model/skill.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/model/skill_list.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/model/social.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/model/social_list.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/template.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/template.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/components/ImageComponent.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/components/LinkComponent.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/config.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/models/BadgeModel.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/models/BannerModel.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/models/ConfigModel.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/models/LinkModel.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/Banner.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/Context.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/Link.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/Skill.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/url_builder/BadgeUrlBuilder.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/url_builder/BannerUrlBuilder.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/url_builder/UrlBuilder.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/views/template.njk" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -43,13 +40,14 @@
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="DarkyenusTimeTracker">
<option name="totalTimeSeconds" value="26120" />
<option name="totalTimeSeconds" value="26848" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="JavaScript File" />
<option value="TypeScript File" />
<option value="Python Script" />
</list>
</option>
</component>
@@ -64,6 +62,10 @@
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectColorInfo">{
&quot;customColor&quot;: &quot;&quot;,
&quot;associatedIndex&quot;: 7
}</component>
<component name="ProjectId" id="2D5NGsoG3YaWSwKstpEFyHAQuqo" />
<component name="ProjectLevelVcsManager">
<ConfirmationsSetting value="2" id="Add" />
@@ -75,12 +77,13 @@
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ASKED_MARK_IGNORED_FILES_AS_EXCLUDED": "true",
"Python.main.executor": "Run",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"git-widget-placeholder": "dev",
"javascript.nodejs.core.library.configured.version": "19.6.0",
"javascript.nodejs.core.library.typings.version": "18.16.3",
"javascript.nodejs.core.library.configured.version": "20.6.1",
"javascript.nodejs.core.library.typings.version": "20.6.5",
"last_directory_selection": "/Users/lucas/Documents/GitHub/LucasVbr/model",
"last_opened_file_path": "/Users/lucas/Documents/GitHub/LucasVbr/models",
"node.js.detected.package.eslint": "true",
@@ -89,7 +92,7 @@
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "preferences.pluginManager",
"ts.external.directory.path": "/Users/lucas/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/231.8770.64/WebStorm.app/Contents/plugins/javascript-impl/jsLanguageServicesImpl/external",
"ts.external.directory.path": "/Users/lucas/Applications/PyCharm Professional Edition.app/Contents/plugins/javascript-impl/jsLanguageServicesImpl/external",
"vue.rearranger.settings.migration": "true"
}
}]]></component>
@@ -100,14 +103,37 @@
<recent name="$PROJECT_DIR$/components" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src/url" />
<recent name="$PROJECT_DIR$/src/model" />
<recent name="$PROJECT_DIR$/resources" />
<recent name="$PROJECT_DIR$/src" />
<recent name="$PROJECT_DIR$/src/url" />
<recent name="$PROJECT_DIR$/views" />
<recent name="$PROJECT_DIR$" />
<recent name="$PROJECT_DIR$/src/core" />
</key>
</component>
<component name="RunManager" selected="npm.start">
<component name="RunManager" selected="Python.main">
<configuration name="main" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
<module name="LucasVbr" />
<option name="ENV_FILES" value="" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/main.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="Run Compilation" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="" />
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
@@ -135,10 +161,18 @@
</configuration>
<recent_temporary>
<list>
<item itemvalue="Python.main" />
<item itemvalue="npm.start" />
</list>
</recent_temporary>
</component>
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-python-sdk-50da183f06c8-2887949eec09-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-233.13135.95" />
</set>
</attachedChunks>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
@@ -167,6 +201,9 @@
<workItem from="1673603557469" duration="10000" />
<workItem from="1682800101629" duration="27322000" />
<workItem from="1683016877648" duration="634000" />
<workItem from="1686672064522" duration="10000" />
<workItem from="1691244360881" duration="1235000" />
<workItem from="1703610497268" duration="12128000" />
</task>
<task id="LOCAL-00001" summary="Add OpenClassRooms link">
<created>1660658552230</created>
@@ -239,4 +276,7 @@
<expand />
<select />
</component>
<component name="com.intellij.coverage.CoverageDataManagerImpl">
<SUITE FILE_PATH="coverage/LucasVbr$main.coverage" NAME="main Coverage Results" MODIFIED="1703624206428" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
</component>
</project>