2023-08-29 07:59:17 +00:00
|
|
|
pipeline:
|
2023-08-29 07:55:08 +00:00
|
|
|
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 .
|