Skip to content

windows openssl

windows openssl #100

Workflow file for this run

name: Lint Python
on:
pull_request:
paths:
- 'pyultima/**'
- '.github/workflows/lint-python.yaml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
python_lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pyultima
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'pyultima/requirements-lint.txt'
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -r requirements-lint.txt
- name: Lint Python
run: |
black --check .
blackdoc --check .
isort --check .
ruff .
# Rust clippy and fmt performed as part of lint-test-rust(main)
#- name: Set up Rust
# uses: dtolnay/rust-toolchain@master
# with:
# toolchain: stable
# components: rustfmt, clippy
#- name: Cache Rust
# uses: Swatinem/rust-cache@v2
# with:
# workspaces: pyultima
#- name: Lint Rust
# run: |
# cargo fmt -- --check
# make clippy