mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
* 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.
25 lines
555 B
YAML
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
|