-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
exclude: ^frontend/src/services/server | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-executables-have-shebangs | ||
- id: check-json | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: check-xml | ||
- id: check-merge-conflict | ||
- id: mixed-line-ending | ||
args: [ --fix=lf ] | ||
|
||
- repo: https://github.com/python-poetry/poetry | ||
rev: 1.7.0 | ||
hooks: | ||
- id: poetry-check | ||
files: pyproject.toml$ | ||
types: [ file ] | ||
- id: poetry-lock | ||
files: pyproject.toml$ | ||
types: [ file ] | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.6 | ||
hooks: | ||
- id: ruff | ||
files: \.py$ | ||
types: [ file ] | ||
- id: ruff-format | ||
files: \.py$ | ||
types: [ file ] | ||
|
||
- repo: https://github.com/pre-commit/mirrors-eslint | ||
rev: v8.54.0 | ||
hooks: | ||
- id: eslint | ||
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx | ||
types: [ file ] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ Thank you for your interest in contributing to Celery Insights! This document wi | |
## Reporting Bugs | ||
|
||
> :warning: **WARNING** | ||
> | ||
> If you have discovered a security vulnerability, please **DO NOT** file a public issue. | ||
> | ||
> If you have discovered a security vulnerability, please **DO NOT** file a public issue. | ||
> Instead, please report them directly to [email protected]. | ||
If you have found a bug, we would like to know, so we can fix it! Before you file a bug report, please make sure that | ||
|
@@ -64,17 +64,18 @@ To contribute to the project, follow these steps: | |
```shell | ||
poetry install | ||
``` | ||
4. Navigate to the frontend folder. | ||
```shell | ||
cd frontend/ | ||
``` | ||
4. Install pre-commit hooks | ||
```shell | ||
pre-commit install | ||
``` | ||
5. Install the Node.js dependencies using npm. | ||
```shell | ||
cd frontend/ | ||
npm install | ||
``` | ||
``` | ||
6. Create `.env` file | ||
```shell | ||
cd server/ | ||
cd ../server/ | ||
cp .env.example .env | ||
### Run dev server | ||
|
@@ -118,10 +119,10 @@ To contribute to the project, follow these steps: | |
// Dont | ||
const [lengthBad, setLength] = useState(items.length) | ||
useEffect(() => setLength(items.length), [items]) | ||
// Do | ||
const lengthGood = useMemo(() => items.length, [items]) | ||
} | ||
} | ||
``` | ||
- Avoid unnecessary React re-renders. Performance is important. | ||
- Follow the existing folder structure. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
|
||
Welcome to Celery Insights, the ultimate monitoring tool for your Celery cluster! | ||
|
||
With Celery Insights, you can effortlessly track your Celery cluster in real-time. | ||
Our modern web interface enables you to conveniently view worker status, | ||
With Celery Insights, you can effortlessly track your Celery cluster in real-time. | ||
Our modern web interface enables you to conveniently view worker status, | ||
task information, and workflow graphs, all updated using websockets. | ||
|
||
Inspired by Celery Flower, this tool takes Celery monitoring to the next level. | ||
Inspired by Celery Flower, this tool takes Celery monitoring to the next level. | ||
Try Celery Insights and transform the way you monitor your Celery cluster! | ||
|
||
<p align="center"> | ||
|
@@ -43,7 +43,7 @@ For any questions, suggestions, or feature requests, please join the conversatio | |
|
||
> :warning: **WARNING** | ||
> | ||
> If you have discovered a security vulnerability, please **DO NOT** file a public issue. | ||
> If you have discovered a security vulnerability, please **DO NOT** file a public issue. | ||
> Instead, please report them directly to [email protected]. | ||
## Contributing | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,4 @@ | |
"no-console": ["warn", {"allow": ["warn", "error"]}], | ||
"prettier/prettier": "warn" | ||
} | ||
} | ||
} |