diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e47eda..9978ba9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,7 +46,9 @@ repos: - id: trailing-whitespace types: [python] - id: end-of-file-fixer - types: [python] + types: [file] + files: \.(py|js|vue)$ + - repo: https://github.com/executablebooks/mdformat rev: 0.7.17 diff --git a/ui/.eslintrc.js b/ui/.eslintrc.js index 6dff04e..4941e33 100644 --- a/ui/.eslintrc.js +++ b/ui/.eslintrc.js @@ -22,4 +22,4 @@ module.exports = { // or // 'no-unused-vars': 'warn', // Change the rule to a warning }, - }; \ No newline at end of file + }; diff --git a/ui/public/base.js b/ui/public/base.js index 00d835c..691846f 100644 --- a/ui/public/base.js +++ b/ui/public/base.js @@ -229,4 +229,4 @@ function _getFailureRateScore(failureRate) { else if (strengthRate >= 60) return 'D'; else return 'E'; // For strengthRate less than 60 } -export { LLM_SPECS, LLM_CONFIGS, has_image, has_files, _getFailureRateColor, _getFailureRateScore ,URL }; \ No newline at end of file +export { LLM_SPECS, LLM_CONFIGS, has_image, has_files, _getFailureRateColor, _getFailureRateScore ,URL }; diff --git a/ui/src/components/LLMSpecInput.vue b/ui/src/components/LLMSpecInput.vue index 08c75ca..4ad8e07 100644 --- a/ui/src/components/LLMSpecInput.vue +++ b/ui/src/components/LLMSpecInput.vue @@ -55,4 +55,4 @@ export default { \ No newline at end of file + diff --git a/ui/src/components/PageContent.vue b/ui/src/components/PageContent.vue index ea9656e..6385382 100644 --- a/ui/src/components/PageContent.vue +++ b/ui/src/components/PageContent.vue @@ -100,4 +100,4 @@ export default { \ No newline at end of file + diff --git a/ui/src/components/PageFooter.vue b/ui/src/components/PageFooter.vue index 89daf65..f0990f9 100644 --- a/ui/src/components/PageFooter.vue +++ b/ui/src/components/PageFooter.vue @@ -55,4 +55,4 @@ export default { \ No newline at end of file + diff --git a/ui/src/components/PageHeader.vue b/ui/src/components/PageHeader.vue index 6791987..6c76b55 100644 --- a/ui/src/components/PageHeader.vue +++ b/ui/src/components/PageHeader.vue @@ -19,4 +19,4 @@ export default { \ No newline at end of file + diff --git a/ui/src/main.js b/ui/src/main.js index c054f1c..76f242c 100644 --- a/ui/src/main.js +++ b/ui/src/main.js @@ -8,4 +8,4 @@ app.mount('#vue-app') // Change #vue-app to #app app.config.globalProperties.$lucide = lucide -//lucide.createIcons(); // Create icons \ No newline at end of file +//lucide.createIcons(); // Create icons diff --git a/ui/tailwind.config.js b/ui/tailwind.config.js index 61ab3ad..f997803 100644 --- a/ui/tailwind.config.js +++ b/ui/tailwind.config.js @@ -28,4 +28,3 @@ module.exports = { }, plugins: [], } - diff --git a/ui/vue.config.js b/ui/vue.config.js index d02fe84..a57d75d 100644 --- a/ui/vue.config.js +++ b/ui/vue.config.js @@ -1,2 +1,2 @@ const { defineConfig } = require('@vue/cli-service') -module.exports = defineConfig({ transpileDependencies: true, publicPath: '/' ,devServer: { allowedHosts: 'all', client: {webSocketURL: 'auto://0.0.0.0:0/ws'}}, }) \ No newline at end of file +module.exports = defineConfig({ transpileDependencies: true, publicPath: '/' ,devServer: { allowedHosts: 'all', client: {webSocketURL: 'auto://0.0.0.0:0/ws'}}, })