Skip to content

Commit

Permalink
Change Python3 in pre-commit-config.yaml (#1463)
Browse files Browse the repository at this point in the history
* simple python version
* ruff update
* Apply suggestions from code review

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>

(cherry picked from commit 662a2a2)
  • Loading branch information
jxtngx authored and Borda committed Jan 30, 2023
1 parent 09131f2 commit fca8d74
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
# limitations under the License.

default_language_version:
python: python3.8
python: python3

ci:
autofix_prs: true
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
autoupdate_commit_msg: "[pre-commit.ci] pre-commit suggestions"
autoupdate_schedule: quarterly
# submodules: true

Expand All @@ -34,7 +34,7 @@ repos:
- id: check-executables-have-shebangs
- id: check-case-conflict
- id: check-added-large-files
args: ['--maxkb=100', '--enforce-all']
args: ["--maxkb=100", "--enforce-all"]
- id: detect-private-key

- repo: https://github.com/asottile/pyupgrade
Expand Down Expand Up @@ -72,10 +72,10 @@ repos:
- mdformat-black
- mdformat_frontmatter
exclude: |
(?x)^(
CHANGELOG.md|
docs/paper_JOSS/paper.md
)$
(?x)^(
CHANGELOG.md|
docs/paper_JOSS/paper.md
)$
- repo: https://github.com/asottile/yesqa
rev: v1.4.0
Expand Down

0 comments on commit fca8d74

Please sign in to comment.