✨ Run Mypy linter on backend pull requests
This commit is contained in:
@@ -3,7 +3,13 @@ steps:
|
||||
image: python:3.12-alpine
|
||||
commands:
|
||||
- pip install ruff
|
||||
- ruff . --format github
|
||||
- ruff --output-format github .
|
||||
when:
|
||||
- branch:
|
||||
exclude: [master, develop, release/*]
|
||||
|
||||
- name: mypy
|
||||
image: python:3.12-alpine
|
||||
commands: |
|
||||
pip install mypy
|
||||
mypy .
|
||||
|
Reference in New Issue
Block a user