Skip to content

Commit

Permalink
Merge branch 'main' into refactor/custom-tree-widget-items
Browse files Browse the repository at this point in the history
  • Loading branch information
gounux committed Nov 1, 2024
2 parents e12d92b + 634cc28 commit 13e0088
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
25 changes: 17 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,35 @@ repos:
rev: v4.6.0
hooks:
- id: check-added-large-files
args: ["--maxkb=500"]
args:
- --maxkb=500
- id: check-case-conflict
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: fix-encoding-pragma
args: [--remove]
args:
- --remove
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
args:
- --markdown-linebreak-ext=md

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"
hooks:
- id: ruff
args: ["--fix-only", "--target-version=py39"]
args:
- --fix-only
- --target-version=py39

- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
args: ["--target-version=py39"]
args:
- --target-version=py39

# Disabled until PyQt translation support f-strings
# - repo: https://github.com/asottile/pyupgrade
Expand All @@ -41,16 +47,19 @@ repos:
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
args:
- --profile
- black
- --filter-files

- repo: https://github.com/pycqa/flake8
rev: 7.1.0
hooks:
- id: flake8
language: python
files: ^qtribu/.*\.py$
types: [python]
additional_dependencies: ["flake8-qgis"]
additional_dependencies:
- "flake8-qgis"
args:
[
"--config=setup.cfg",
Expand Down
2 changes: 1 addition & 1 deletion requirements/documentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ sphinx-autobuild>=2024
sphinx-autodoc-typehints>=1.25
sphinx-copybutton>=0.5,<1
sphinxext-opengraph>=0.7
sphinx-rtd-theme>=1,<3
sphinx-rtd-theme>=1,<4
sphinx-sitemap>=2.5.1

0 comments on commit 13e0088

Please sign in to comment.