Skip to content

Commit

Permalink
fix precommit II
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Barrachina Civera <[email protected]>
  • Loading branch information
xbarra committed Jul 11, 2024
1 parent aa03314 commit 2559af3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
6 changes: 2 additions & 4 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ extends: null

MD013: false
MD033: {
"allowed_elements": [
"img",
]
}
"allowed_elements": ["img"]
}
28 changes: 6 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ repos:
rev: v1.35.1
hooks:
- id: yamllint
args: [ "-d", "{rules: {line-length: {max: 120}}, ignore-from-file: [.gitignore],}", ]
args: >
[ "-d", "{rules: {line-length: {max: 120}},
ignore-from-file: [.gitignore],}"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
Expand All @@ -98,7 +100,9 @@ repos:
name: "create mypy cache"
language: system
pass_filenames: false
entry: bash -c 'if [ ! -d .mypy_cache ]; then /bin/mkdir .mypy_cache; fi; exit 0'
entry: >
bash -c 'if [ ! -d .mypy_cache ];
then /bin/mkdir .mypy_cache; fi; exit 0'
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.10.1"
Expand All @@ -107,23 +111,3 @@ repos:
verbose: true
args: ["--show-error-codes", "--install-types", "--non-interactive"]
additional_dependencies: ["pytest", "types-requests"]

# Check for misspellings in documentation files
# - repo: https://github.com/codespell-project/codespell
# rev: v2.2.2
# hooks:
# - id: codespell

# To embrace black styles, even in docs
# - repo: https://github.com/asottile/blacken-docs
# rev: v1.13.0
# hooks:
# - id: blacken-docs
# additional_dependencies: [black]

# Automatically upgrade Python syntax for newer versions
# - repo: https://github.com/asottile/pyupgrade
# rev: v3.15.0
# hooks:
# - id: pyupgrade
# args: ['--py37-plus']
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

Expand Down

0 comments on commit 2559af3

Please sign in to comment.