Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Merge pull request #3 from DSD-DBS/chore-update-copyright #20

Merge pull request #3 from DSD-DBS/chore-update-copyright

Merge pull request #3 from DSD-DBS/chore-update-copyright #20

Workflow file for this run

# SPDX-FileCopyrightText: Copyright DB InfraGO AG and the pyease contributors
# SPDX-License-Identifier: CC0-1.0
name: Lint
on:
push:
branches: ["*"]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Upgrade pip
run: |-
python -m pip install -U pip
- name: Install pre-commit
run: |-
python -m pip install pre-commit types-docutils
- name: Run Pre-Commit
run: |-
pre-commit run --all-files
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Upgrade pip
run: |-
python -m pip install -U pip
- name: Install pylint
run: |-
python -m pip install pylint
- name: Run pylint
run: |-
pylint -dfixme pyease || exit $(($? & ~24))