Files
modorganizer-plugin_python/.github/workflows/linting.yml
T
Mikaël Capelle 6623e19754 Expose INVALID_HANDLE_VALUE as mobase.INVALID_HANDLE_VALUE. (#131)
* Expose INVALID_HANDLE_VALUE as mobase.INVALID_HANDLE_VALUE.
* Add tests for startApplication() returning INVALID_HANDLE_VALUE.
* Clean tests and generate stub files for them.
2024-06-28 11:48:30 +02:00

25 lines
555 B
YAML

name: Lint Plugin Python
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check format
uses: ModOrganizer2/check-formatting-action@master
with:
check-path: "."
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- uses: abatilo/actions-poetry@v2
- name: Check format Python tests
run: |
poetry install --no-root
poetry run poe lint