Browse Source

️ Revert removing scripts, only remove `coverage.sh`

pull/15772/head
Sebastián Ramírez 1 month ago
parent
commit
5a280e9147
  1. 5
      scripts/format.sh
  2. 9
      scripts/lint.sh
  3. 6
      scripts/test-cov-html.sh

5
scripts/format.sh

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -x
ruff check fastapi tests docs_src scripts --fix
ruff format fastapi tests docs_src scripts

9
scripts/lint.sh

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
set -x
mypy fastapi
ty check
ruff check fastapi tests docs_src scripts
ruff format fastapi tests --check

6
scripts/test-cov-html.sh

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -e
set -x
bash scripts/test-cov.sh --cov-report=term-missing --cov-report=html ${@}
Loading…
Cancel
Save