-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 959 Bytes
/
pylint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: linting
on: [push]
env:
UV_SYSTEM_PYTHON: true
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install package and dev dependencies
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install ".[dev]"
- name: ruff check
run: |
ruff check src/pynxtools_igor tests
- name: ruff format
if: ${{ always() }}
run: |
ruff format --check src/pynxtools_igor tests
- name: mypy
if: ${{ always() }}
run: |
mypy src/pynxtools_igor tests
- name: spellcheck
if: ${{ always() }}
uses: streetsidesoftware/cspell-action@v6
with:
check_dot_files: false
incremental_files_only: false
config: './cspell.json'