Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Boisselet Alexandre (IFAT DC ATV SC D TE2) authored and Boisselet Alexandre (IFAT DC ATV SC D TE2) committed Apr 4, 2024
1 parent 22e5219 commit 5e3a8cb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 22 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- 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
# ]

0 comments on commit 5e3a8cb

Please sign in to comment.