Skip to content

Commit

Permalink
enh: add compwa PDF wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-eschle committed Oct 13, 2024
1 parent 09a19a2 commit 4df4281
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 43 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,4 @@ venv.bak/
# mypy
.mypy_cache/
/.idea/sonarlint/*
/src/zfit_physics/_version.py
81 changes: 38 additions & 43 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ci:
autoupdate_schedule: quarterly
autoupdate_schedule: quarterly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
Expand All @@ -18,72 +18,67 @@ repos:
- id: detect-private-key
- id: fix-byte-order-marker
- id: check-ast
rev: v1.10.0
hooks:
- id: python-use-type-annotations
- id: python-check-mock-methods
- id: python-no-eval
- id: rst-directive-colons
- repo: https://github.com/PyCQA/isort

- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
hooks:
- id: pyupgrade
- id: pyupgrade
args:
- --py38-plus
- repo: https://github.com/asottile/setup-cfg-fmt
- --py38-plus
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.5.0
hooks:
- id: setup-cfg-fmt
- id: setup-cfg-fmt
args:
- --max-py-version=3.12
- --include-version-classifiers
- repo: https://github.com/nbQA-dev/nbQA
- --max-py-version=3.12
- --include-version-classifiers
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.8.7
hooks:
- id: nbqa-isort
- id: nbqa-isort
additional_dependencies:
- isort
- id: nbqa-pyupgrade
- isort
- id: nbqa-pyupgrade
additional_dependencies:
- pyupgrade
- pyupgrade
args:
- --py38-plus
- repo: https://github.com/mgedmin/check-manifest
- --py38-plus
- repo: https://github.com/mgedmin/check-manifest
rev: '0.49'
hooks:
- id: check-manifest
- id: check-manifest
stages:
- manual
- repo: https://github.com/sondrelg/pep585-upgrade
- manual
- repo: https://github.com/sondrelg/pep585-upgrade
rev: v1.0
hooks:
- id: upgrade-type-hints
- id: upgrade-type-hints
args:
- --futures=true
- repo: https://github.com/MarcoGorelli/auto-walrus
- --futures=true
- repo: https://github.com/MarcoGorelli/auto-walrus
rev: 0.3.4
hooks:
- id: auto-walrus
- id: auto-walrus

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.6.9"
hooks:
- id: ruff
- id: ruff
types_or:
- python
- pyi
- jupyter
- python
- pyi
- jupyter
args:
- --fix
- --unsafe-fixes
- --show-fixes
- --line-length=120
- id: ruff-format
- --fix
- --unsafe-fixes
- --show-fixes
- --line-length=120
- id: ruff-format
types_or:
- python
- pyi
- jupyter
- python
- pyi
- jupyter
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4df4281

Please sign in to comment.