Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: pre-commit/[email protected]

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: Build & Test

steps:
Expand Down
33 changes: 13 additions & 20 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,25 @@ repos:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.8
hooks:
- id: ruff
files: ^up_esb/.*\.py$
args:
- --config=pyproject.toml
- --fix
- --show-fixes

- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.8.0
hooks:
- id: black
args: [--config=pyproject.toml]
- repo: https://github.com/pycqa/pylint
rev: v3.3.3
hooks:
- id: pylint
files: "up_esb/.*\\.py$"
args: [
--rcfile=pyproject.toml,
--fail-under=8.0,
--jobs=0,
--output-format=colorized,
--disable=import-error,
]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
files: "\\.(py)$"
args: [--settings-path=pyproject.toml]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.9.0" # Use the sha / tag you want to point at
rev: "v1.14.1"
hooks:
- id: mypy
files: "up_esb/.*\\.py$"
Expand Down
Loading
Loading