From 5e3a8cbb80f5637843b366b5157678de2c6cda2a Mon Sep 17 00:00:00 2001 From: "Boisselet Alexandre (IFAT DC ATV SC D TE2)" Date: Thu, 4 Apr 2024 10:34:30 +0200 Subject: [PATCH] update --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 28 ++++++++++++++++++++++------ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21cc07d..ff1aff0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1684d75..2bec4e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,20 +11,36 @@ repos: - id: debug-statements language_version: python3 - - repo: https://github.com/asottile/reorder-python-imports - rev: v3.12.0 + - repo: https://github.com/pycqa/isort + rev: 5.13.2 hooks: - - id: reorder-python-imports - args: [--py37-plus] + - id: isort + name: isort (python) - repo: https://github.com/asottile/pyupgrade rev: v3.15.2 hooks: - id: pyupgrade - args: [--py37-plus] + args: [--py38-plus] - repo: https://github.com/psf/black rev: "24.3.0" hooks: - - id: black \ No newline at end of file + - id: black + + + # - repo: local + # hooks: + # - id: pylint + # name: pylint + # entry: pylint + # language: system + # types: [python] + # files: ^magpylib/ + # args: [ + # "-rn", # Only display messages + # "-sn", # Don't display the score + # "--rcfile=.pylintrc", # Link to your config file + # #"--load-plugins=pylint.extensions.docparams", # Load an extension + # ]