16 lines
464 B
YAML
16 lines
464 B
YAML
pipeline:
|
|
lint_ruff:
|
|
image: python
|
|
commands:
|
|
- pip install ruff
|
|
- python --version && poetry --version && ruff --version
|
|
- echo "----------------- running ruff lint ------------------"
|
|
- ruff check .
|
|
|
|
lint_black:
|
|
image: python
|
|
commands:
|
|
- pip install black
|
|
- python --version && poetry --version && black --version
|
|
- echo "----------------- running black lint ----------------"
|
|
- black --check .
|