Skip to content

Commit 1ed0b20

Browse files
Update deps
Add ruff and ansible python interpreter
1 parent ee4f5c0 commit 1ed0b20

File tree

5 files changed

+313
-238
lines changed

5 files changed

+313
-238
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@ fail_fast: true
22

33
# TODO: ruff
44
repos:
5-
# checks for secrets via rules (gitleaks.toml)
5+
# checks for secrets via rules (gitleaks.toml)
66
- repo: https://github.com/zricethezav/gitleaks
7-
rev: v8.15.3
7+
rev: v8.16.3
88
hooks:
99
- id: gitleaks
10-
- repo: https://github.com/ambv/black
11-
rev: 23.1.0
10+
- repo: https://github.com/astral-sh/ruff-pre-commit
11+
# Ruff version.
12+
rev: v0.0.269
1213
hooks:
13-
- id: black
14+
- id: ruff
15+
args: [--fix, --exit-non-zero-on-fix]
16+
# - repo: https://github.com/ambv/black
17+
# rev: 23.1.0
18+
# hooks:
19+
# - id: black
1420
# - repo: https://github.com/PyCQA/flake8
1521
# rev: 6.0.0
1622
# hooks:

.vscode/launch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@
8484
],
8585
// "runtimeExecutable": "${env:HOME}/.n/bin/node"
8686
}
87-
]
87+
],
88+
"ansible.python.interpreterPath": "${workspaceFolder}/.venv/bin/python"
8889
}

0 commit comments

Comments
 (0)