Marty Oehme
b564ab4792
Added static analysis (lint, type checking) to be done on each push, and testing to be done on each master branch commit.
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 .
|