
* lift node version restraint to allow more recent version if already installed * add node test for latest version * change python version * use purple for debug logs * update workflow * add playwright dev dependency * update workflow * change test * oops * improve test * update test * fix tests * mv units tests to a subfolder * reorganize tests * fix install * update test_state * revert node changes and only keep new tests organization * move integration tests in tests/integration * fix integration workflow * fix dockerfile workflow * fix dockerfile workflow 2 * fix shared_state
37 lines
907 B
YAML
37 lines
907 B
YAML
fail_fast: true
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: v0.4.10
|
|
hooks:
|
|
- id: ruff-format
|
|
args: [reflex, tests]
|
|
- id: ruff
|
|
args: ["--fix", "--exit-non-zero-on-fix"]
|
|
exclude: '^integration/benchmarks/'
|
|
|
|
# Run pyi check before pyright because pyright can fail if pyi files are wrong.
|
|
- repo: local
|
|
hooks:
|
|
- id: update-pyi-files
|
|
name: update-pyi-files
|
|
always_run: true
|
|
language: system
|
|
description: 'Update pyi files as needed'
|
|
entry: python3 scripts/make_pyi.py
|
|
|
|
- repo: https://github.com/RobertCraigie/pyright-python
|
|
rev: v1.1.313
|
|
hooks:
|
|
- id: pyright
|
|
args: [integration, reflex, tests]
|
|
language: system
|
|
|
|
- repo: https://github.com/terrencepreilly/darglint
|
|
rev: v1.8.1
|
|
hooks:
|
|
- id: darglint
|
|
exclude: '^reflex/reflex.py'
|
|
|