Commit graph

10 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
a9cb7b0f5e
Update linting workflows for frontend and Python code (#2171)
* chore: Update pre-commit hooks and dependencies

* chore: Add linting workflow for frontend code

* chore: Update linting workflow for Python code and include tests in pull requests

* chore: Add Ruff style check workflow for Python code
2024-06-14 06:27:48 -07:00
ogabrielluiz
2cffd76135 feat: Update pre-commit configuration
The pre-commit configuration file `.pre-commit-config.yaml` was updated to remove the `pretty-format-json` hook and exclude `tsconfig.*.json` files. This change improves the formatting consistency of the codebase.

Note: The commit message has been generated based on the provided code changes and recent commits.
2024-05-30 19:13:15 -03:00
Gabriel Luiz Freitas Almeida
8230434e19
Add CLI command to create API key for default superuser with AUTO_LOGIN enabled (#1965)
* chore: Add CLI command to create API key for default superuser with AUTO_LOGIN enabled

* chore: Add pyperclip dependency for cross-platform clipboard functionality

* chore: Update API key banner to copy the key to clipboard

* chore: Update langchainhub package version to 0.1.16 and openai package version to 1.30.3

* chore: Update pre-commit hooks to fix mixed line endings and trailing whitespace in Python, JavaScript, and TypeScript files

* style(__main__.py): add type ignore comment for import of pyperclip to suppress type checking error
2024-05-24 13:05:15 -07:00
Gabriel Luiz Freitas Almeida
2920e69593 🔧 (.pre-commit-config.yaml): Add eslint@9.1.1 as a dependency and enable autofix for pretty-format-json hook
🔧 (.eslintrc.json): Update eslint configuration to include additional plugins, parser, parserOptions, and env settings
2024-05-02 19:27:40 -03:00
cristhianzl
9cd3925233 remove parser 2024-05-02 18:54:01 -03:00
cristhianzl
37ca646f2c Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev 2024-05-02 18:51:31 -03:00
cristhianzl
33ad0430d3 🔧 (.pre-commit-config.yaml): add eslint-plugin-react@latest as a dependency to improve linting for React components
🔧 (.eslintrc.json): update eslint configuration to include additional plugins, parser, parserOptions, and env settings to improve linting for React components and TypeScript files
♻️ (index.tsx): remove unnecessary empty line to improve code readability
2024-05-02 18:51:27 -03:00
Gabriel Luiz Freitas Almeida
c9a9ca2958 Update .pre-commit-config.yaml to enable fail_fast option and add eslint repository 2024-05-02 18:51:22 -03:00
Gabriel Luiz Freitas Almeida
89595d4a14 Update pre-commit-config.yaml and Makefile 2024-05-02 17:07:23 -03:00
Gabriel Luiz Freitas Almeida
2eb2f3bec6 Add pre-commit hooks for eslint and ruff (#1817) 2024-05-02 17:02:06 -03:00