Skip to content

Commit

Permalink
Merge pull request sunpy#7285 from sunpy/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Nabil Freij <[email protected]>
  • Loading branch information
nabobalis and pre-commit-ci[bot] authored Nov 6, 2023
2 parents fae8085 + a0d807c commit f747f4e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
exclude: "\\.asdf$"

repos:
# This should be before any formatting hooks like isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.3"
rev: "v0.1.4"
hooks:
- id: ruff
args: ["--fix"]

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--sp", "setup.cfg"]
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|.rst|.md|cm/__init__.py|sunpy/extern|docs/conf.py)$"

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
Expand All @@ -30,13 +27,11 @@ repos:
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|.json)$|^CITATION.rst$"
- id: mixed-line-ending
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*)$"

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: ['--config setup.cfg --write-changes']

- repo: local
hooks:
- id: generate-sunpy-net-hek-attrs
Expand All @@ -51,7 +46,6 @@ repos:
language: system
pass_filenames: false
always_run: true


ci:
autofix_prs: false
autoupdate_schedule: "quarterly"

0 comments on commit f747f4e

Please sign in to comment.