89ddc35372
* 🚚 Move docs src files to root docs_src * 🚚 Update example includes from root docs_src * 🚚 Import docs src examples for tests from docs_src * ⬆️ Upgrade isort and configs * 🎨 Update format in testing * 🔧 Update configs with root docs_src * 🔥 Remove obsolete/unecessary section in contributing guide * 🎨 Re-format multi-file example * ⏪ Revert format for multi-file examples * 🔧 Add isort skips for multi-file examples
9 lines
336 B
Bash
Executable file
9 lines
336 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
bash ./scripts/test-files.sh
|
|
bash ./scripts/lint.sh
|
|
# Use xdist-pytest --forked to ensure modified sys.path to import relative modules in examples keeps working
|
|
pytest --cov=typer --cov=tests --cov=docs_src --cov-report=term-missing -o console_output_style=progress --forked --numprocesses=auto ${@}
|