Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
fixed precommit config
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Jun 13, 2024
1 parent f7e97b1 commit 9ed2e97
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
files: ^scenario/
exclude: ./lib/charms/.*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand All @@ -16,14 +16,6 @@ repos:
rev: v3.1.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: ["--py37-plus"]
exclude: "^(tests/demo_pkg_inline/build.py)$"
- id: pyupgrade
files: "^(tests/demo_pkg_inline/build.py)$"
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
Expand All @@ -42,10 +34,6 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies: [black==23.3]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-backticks
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.3.0"
hooks:
Expand All @@ -63,15 +51,7 @@ repos:
rev: v0.33.0
hooks:
- id: markdownlint
- repo: local
hooks:
- id: changelogs-rst
name: Changelog filenames
language: fail
entry: "changelog files must be named ####.(feature|bugfix|doc|removal|misc).rst"
exclude: ^docs/changelog/(\d+\.(feature|bugfix|doc|removal|misc).rst|template.jinja2)
files: ^docs/changelog/
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- id: check-useless-excludes

0 comments on commit 9ed2e97

Please sign in to comment.